Skip to content

Commit

Permalink
docs: Use markdown for all documentation. (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
huxuan authored Sep 11, 2023
1 parent d560fa9 commit 161a7b4
Show file tree
Hide file tree
Showing 28 changed files with 64 additions and 68 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"interruptible",
"isort",
"JPKXI",
"maxdepth",
"modindex",
"mypy",
"pathjoin",
Expand Down
6 changes: 6 additions & 0 deletions docs/api/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# API Reference

```{toctree}
:maxdepth: 1
settings
```
7 changes: 0 additions & 7 deletions docs/api/index.rst

This file was deleted.

5 changes: 5 additions & 0 deletions docs/api/settings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# serious_scaffold.settings

```{eval-rst}
.. automodule:: serious_scaffold.settings
```
4 changes: 0 additions & 4 deletions docs/api/settings.rst

This file was deleted.

6 changes: 6 additions & 0 deletions docs/cli/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# CLI Reference

```{click} serious_scaffold.cli:typer_click_object
:prog: serious-scaffold-cli
:nested: full
```
6 changes: 0 additions & 6 deletions docs/cli/index.rst

This file was deleted.

2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Welcome to Serious Scaffold Python's documentation!
# Welcome to Serious Scaffold Python's documentation

```{toctree}
:hidden:
Expand Down
3 changes: 3 additions & 0 deletions docs/reports/coverage/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Coverage Reports

<!-- placeholder for generated coverage reports -->
4 changes: 0 additions & 4 deletions docs/reports/coverage/index.rst

This file was deleted.

7 changes: 7 additions & 0 deletions docs/reports/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Code Quality Reports

```{toctree}
:maxdepth: 2
mypy/index
coverage/index
```
8 changes: 0 additions & 8 deletions docs/reports/index.rst

This file was deleted.

3 changes: 3 additions & 0 deletions docs/reports/mypy/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# MyPy Reports

<!-- placeholder for generated mypy reports -->
4 changes: 0 additions & 4 deletions docs/reports/mypy/index.rst

This file was deleted.

1 change: 1 addition & 0 deletions template/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"interruptible",
"isort",
"JPKXI",
"maxdepth",
"modindex",
"mypy",
"pathjoin",
Expand Down
6 changes: 6 additions & 0 deletions template/docs/api/index.md.jinja
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# API Reference

```{toctree}
:maxdepth: 1
settings
```
7 changes: 0 additions & 7 deletions template/docs/api/index.rst.jinja

This file was deleted.

5 changes: 5 additions & 0 deletions template/docs/api/settings.md.jinja
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# {{ module_name }}.settings

```{eval-rst}
.. automodule:: {{ module_name }}.settings
```
4 changes: 0 additions & 4 deletions template/docs/api/settings.rst.jinja

This file was deleted.

6 changes: 6 additions & 0 deletions template/docs/cli/index.md.jinja
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# CLI Reference

```{click} {{ module_name }}.cli:typer_click_object
:prog: {{ package_name }}-cli
:nested: full
```
6 changes: 0 additions & 6 deletions template/docs/cli/index.rst.jinja

This file was deleted.

2 changes: 1 addition & 1 deletion template/docs/index.md.jinja
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Welcome to {{ project_name }}'s documentation!
# Welcome to {{ project_name }}'s documentation

```{toctree}
:hidden:
Expand Down
3 changes: 3 additions & 0 deletions template/docs/reports/coverage/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Coverage Reports

<!-- placeholder for generated coverage reports -->
4 changes: 0 additions & 4 deletions template/docs/reports/coverage/index.rst

This file was deleted.

7 changes: 7 additions & 0 deletions template/docs/reports/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Code Quality Reports

```{toctree}
:maxdepth: 2
mypy/index
coverage/index
```
8 changes: 0 additions & 8 deletions template/docs/reports/index.rst

This file was deleted.

3 changes: 3 additions & 0 deletions template/docs/reports/mypy/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# MyPy Reports

<!-- placeholder for generated mypy reports -->
4 changes: 0 additions & 4 deletions template/docs/reports/mypy/index.rst

This file was deleted.

0 comments on commit 161a7b4

Please sign in to comment.