-
Notifications
You must be signed in to change notification settings - Fork 51
fix docs build and docs around standards, towncrier, etc. #337
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
4e313a2
fix docs build and docs around standards, towncrier, etc.
jeffkala e411902
update ci 'needs' clauses
jeffkala dc4ff1f
update to remove mypy
jeffkala 2f249a5
fix mkdocs with more docs best practices
jeffkala 8a904ee
fix mkdocs with more docs best practices
jeffkala 476f1cf
fix griffe types for auto docs adn add code references to mkdocs
jeffkala 69cbd24
fix yamllint
jeffkala 16e46b6
fix yamllint
jeffkala 5e6a74c
fix rest of test
jeffkala 97cd098
add unittest for release notes and docs versions, fix docs requireemn…
jeffkala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,5 +3,5 @@ | |
| Uninstall from environment. | ||
|
|
||
| ```bash | ||
| $ pip uninstall pyntc | ||
| pip uninstall pyntc | ||
| ``` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,5 +3,5 @@ | |
| Upgrade from PyPI. | ||
|
|
||
| ```bash | ||
| $ pip install pyntc --upgrade | ||
| pip install pyntc --upgrade | ||
| ``` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| """Generate code reference pages.""" | ||
|
|
||
| from pathlib import Path | ||
|
|
||
| import mkdocs_gen_files | ||
|
|
||
| for file_path in Path("pyntc").rglob("*.py"): | ||
| module_path = file_path.with_suffix("") | ||
| doc_path = file_path.with_suffix(".md") | ||
| full_doc_path = Path("code-reference", doc_path) | ||
|
|
||
| parts = list(module_path.parts) | ||
| if parts[-1] == "__init__": | ||
| parts = parts[:-1] | ||
|
|
||
| with mkdocs_gen_files.open(full_doc_path, "w") as fd: | ||
| IDENTIFIER = ".".join(parts) | ||
| print(f"::: {IDENTIFIER}", file=fd) | ||
|
|
||
| mkdocs_gen_files.set_edit_path(full_doc_path, file_path) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,13 @@ | ||
| mkdocs==1.6.0 | ||
| # Material for MkDocs theme | ||
| mkdocs-material==9.5.32 | ||
| # Render custom markdown for version added/changed/remove notes | ||
| mkdocs-version-annotations==1.0.0 | ||
| # Automatic documentation from sources, for MkDocs | ||
| mkdocstrings==0.25.2 | ||
| mkdocstrings-python==1.10.8 | ||
| griffe==1.1.1 | ||
| mkdocs==1.6.1 | ||
| markdown-data-tables==1.0.0 | ||
| markdown-version-annotations==1.0.1 | ||
| mkdocs-gen-files==0.5.0 | ||
| mkdocs-glightbox==0.4.0 | ||
| mkdocs-macros-plugin==1.3.7 | ||
| mkdocs-material==9.6.15 | ||
| mkdocs-redirects==1.2.2 | ||
| mkdocs-section-index==0.3.10 | ||
| mkdocs-redirects==1.2.2 | ||
| mkdocs-section-index==0.3.10 | ||
| mkdocstrings==0.27.0 | ||
| mkdocstrings-python==1.13.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.