Skip to content

Commit

Permalink
Adding docs plugins (#25)
Browse files Browse the repository at this point in the history
* adding docs plugins

* Adding plugins and fixing order
  • Loading branch information
djpugh authored Dec 27, 2023
1 parent ccbb2a4 commit 72c23c8
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 3 deletions.
8 changes: 6 additions & 2 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ nav:
- 'Developing':
- developing/index.md
- developing/license.md
- developing/sbom.md
- 'Test Coverage': coverage.md
- 'API':
- 'nskit.common': api/nskit.common.md
- 'nskit.mixer': api/nskit.mixer.md
- 'nskit.recipes': api/nskit.recipes.md
- 'nskit.vcs': api/nskit.vcs.md
- changelog.md
- 'Issue Tracker': https://github.com/djpugh/nskit/issues
- 'Changelog': https://github.com/djpugh/nskit/releases

exclude_docs: |
mkdocs.yml
theme:
Expand Down Expand Up @@ -66,7 +68,9 @@ plugins:
type: iso_date
- include-markdown
# https://github.com/mondeja/mkdocs-include-markdown-plugin

- mkdocs_github_changelog:
match: '[0-9+].[0-9+].[0-9]+'
- mkdocs_licenseinfo
# https://mkdocstrings.github.io/recipes/#automatic-code-reference-pages

extra:
Expand Down
3 changes: 3 additions & 0 deletions docs/source/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Releases

## ::github-release-changelog djpugh/nskit
56 changes: 56 additions & 0 deletions docs/source/developing/sbom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Software Bill of Materials

``nskit`` is licensed under the [MIT License](license.md).

The dependencies for ``nskit`` are:

## Runtime Dependencies

These are the dependencies used for running ``nskit``:

### ::licenseinfo

### Extras:

#### Github
##### ::licenseinfo
using: PEP631:github
diff: PEP631

#### Azure Devops
##### ::licenseinfo
using: PEP631:azure_devops
diff: PEP631

## Development Dependencies

These are dependencies used for development (e.g. testing, linting etc.) of ``nskit``:

### ::licenseinfo
using: PEP631:dev
diff: PEP631

### Test Dependencies
#### ::licenseinfo
using: PEP631:dev;dev-test
diff: PEP631:dev

### Lint Dependencies
#### ::licenseinfo
using: PEP631:dev;dev-lint
diff: PEP631:dev

### Security Dependencies
#### ::licenseinfo
using: PEP631:dev;dev-security
diff: PEP631:dev

### Docs Dependencies
#### ::licenseinfo
using: PEP631:dev;dev-docs
diff: PEP631:dev

### Build Dependencies
#### ::licenseinfo
using: PEP631:dev;dev-build
diff: PEP631:dev
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ dev-docs = [
"mkdocs-git-authors-plugin",
"mkdocs-coverage",
"mkdocs-include-markdown-plugin",
'mkdocs-github-changelog',
'mkdocs-licenseinfo',
# "mkdocs-gen-files",
# "mkdocs-literate-nav",
"mike"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ known_first_party = [
"{{repo.py_root}}.*"
]

known_application = '{{repo.py_name}}.*'
known_application = '{{repo.py_name}}*'
force_alphabetical_sort_within_sections = true
force_sort_within_sections = true
reverse_relative = true

0 comments on commit 72c23c8

Please sign in to comment.