Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a local build-docs make target #1264

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add a local build-docs make target #1264

wants to merge 1 commit into from

Conversation

elliotgunton
Copy link
Collaborator

  • Make it easier to check doc changes locally before making a PR
  • Also removed deprecated options in mkdocs.yml

* Make it easier to check doc changes before making a PR
* Also remove deprecated options in mkdocs.yml

Signed-off-by: Elliot Gunton <[email protected]>
@elliotgunton elliotgunton added the type:skip-changelog A change that does not require a changelog entry label Nov 13, 2024
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.2%. Comparing base (e8827fc) to head (cdf7b93).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1264   +/-   ##
=====================================
  Coverage   86.2%   86.2%           
=====================================
  Files         60      60           
  Lines       4113    4113           
  Branches     660     660           
=====================================
  Hits        3547    3547           
  Misses       393     393           
  Partials     173     173           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -124,6 +124,11 @@ init-files:
examples: ## Generate documentation files for examples
@(cd docs && poetry run python generate.py)

.PHONY: build-docs
build-docs: ## Generate (and host) documentation locally
@python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be worth making a separate venv for this so we don't accidentally disrupt the Poetry one?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:skip-changelog A change that does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants