Website integration (#365)

This commit is contained in:
George Dietrich 2024-03-21 23:43:37 -04:00 committed by GitHub
parent 80d2019d38
commit 2b683817c1
5 changed files with 115 additions and 89 deletions

31
mkdocs.yml Normal file
View file

@ -0,0 +1,31 @@
INHERIT: ../../../mkdocs-common.yml
site_name: Negotiation
site_url: https://athenaframework.org/Negotiation/
repo_url: https://github.com/athena-framework/negotiation
nav:
- Introduction: README.md
- Back to Manual: project://.
- API:
- Aliases: aliases.md
- Top Level: top_level.md
- '*'
plugins:
- search
- section-index
- literate-nav
- gen-files:
scripts:
- ../../../gen_doc_stubs.py
- mkdocstrings:
default_handler: crystal
custom_templates: ../../../docs/templates
handlers:
crystal:
crystal_docs_flags:
- ./docs/index.cr
- ./lib/athena-negotiation/src/athena-negotiation.cr
source_locations:
lib/athena-negotiation: https://github.com/athena-framework/negotiation/blob/v{shard_version}/{file}#L{line}