Skip to content

Commit

Permalink
Switch to using mkdocs for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pydanny committed Oct 22, 2023
1 parent ee5d09c commit 1516422
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 149 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ build:

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/source/conf.py
configuration: docs/conf.py

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
Expand Down
20 changes: 0 additions & 20 deletions docs/Makefile

This file was deleted.

5 changes: 0 additions & 5 deletions docs/README_link.md

This file was deleted.

57 changes: 0 additions & 57 deletions docs/conf.py

This file was deleted.

5 changes: 5 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{%
include-markdown "../README.md"
start="<!--intro-start-->"
end="<!--intro-end-->"
%}
29 changes: 0 additions & 29 deletions docs/index.rst

This file was deleted.

35 changes: 0 additions & 35 deletions docs/make.bat

This file was deleted.

2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mkdocs-material
mkdocs-include-markdown-plugin
26 changes: 26 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
site_name: HistoryAIToolKit
repo_url: https://github.com/historysciencelab/HistoryAIToolkit
theme:
name: material
features:
- navigation.instant
- navigation.instant.prefetch
- search.suggest
- search.highlight
- search.share
icon:
repo: fontawesome/brands/github

markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences

plugins:
- search
- include-markdown


nav:
- Introduction: index.md
- "Getting Started": getting_started.md
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ dev = [
"coverage==7.3.2", # testing
"isort", # code auto-formatting
"mypy", # linting
"myst-parser", # markdown parsing
"pytest", # testing
"ruff==0.0.292", # linting
"sphinx", # documentation
"pre-commit==3.4.0", # manages and maintains pre-commit hooks
]

Expand Down

0 comments on commit 1516422

Please sign in to comment.