Skip to content

Commit a458e72

Browse files
authored
Merge pull request potassco#51 from potassco/mkdocs-fix
Docs fixes
2 parents 81ad0dc + 7c135b4 commit a458e72

3 files changed

Lines changed: 34 additions & 29 deletions

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ fillname -h
2828
To generate and open the documentation, run
2929

3030
```bash
31-
nox -s doc -- serve
31+
mkdocs serve -o
32+
```
33+
34+
Make sure to install the optional documentation dependencies via
35+
36+
```bash
37+
pip install .[doc]
3238
```
3339

3440
Instructions to install and use `nox` can be found in

docs/getting_started.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ hide:
99

1010
=== "Pip"
1111

12-
```console
13-
pip install fillname
14-
```
12+
```console
13+
pip install fillname
14+
```
1515

1616
=== "Development mode"
1717

18-
```console
19-
git clone https://github.com/potassco/fillname.git/
20-
cd fillname
21-
pip install -e .[all]
22-
```
18+
```console
19+
git clone https://github.com/potassco/fillname.git/
20+
cd fillname
21+
pip install -e .[all]
22+
```
2323

24-
!!! warning
25-
Use only for development purposes
24+
!!! warning
25+
Use only for development purposes
2626

2727
## Usage
2828

mkdocs.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
site_name: fillname
2-
site_url: https://potassco.org/systems/fillname
2+
site_url: https://potassco.org/fillname
33
site_description:
44
repo_name: potassco/fillname
55
repo_url: https://github.com/potassco/fillname
@@ -100,33 +100,32 @@ plugins:
100100
handlers:
101101
python:
102102
paths: [src]
103-
import:
103+
inventories:
104104
- https://docs.python.org/3/objects.inv
105105
options:
106106
show_symbol_type_heading: true
107107
show_symbol_type_toc: true
108-
# show_root_toc_entry: false
109-
# show_inherited_summary: true
110-
show_inherited_detail: true
111-
show_inherited_detail_toc: true
112-
show_inherited_detail_tree: true
113108
show_signature_annotations: true
114-
signature_crossrefs: true
115109
show_source: false
110+
extra:
111+
signature_cross_references: true
112+
show_inherited_detail: true
113+
show_inherited_detail_toc: true
114+
show_inherited_detail_tree: true
116115

117116
nav:
118117
- Home: index.md
119118
- Getting Started: getting_started.md
120119
- Examples: examples/index.md
121120
- Reference:
122-
- reference/index.md
123-
- Problem: reference/problem/index.md
124-
- Encodings: reference/encodings/index.md
125-
- API: reference/api/index.md
121+
- reference/index.md
122+
- Problem: reference/problem/index.md
123+
- Encodings: reference/encodings/index.md
124+
- API: reference/api/index.md
126125
- Community:
127-
- community/index.md
128-
- Help: community/help.md
129-
- Changes: community/CHANGES.md
130-
- Contributing: community/CONTRIBUTING.md
131-
- Development: community/DEVELOPMENT.md
132-
- Deployment: community/DEPLOYMENT.md
126+
- community/index.md
127+
- Help: community/help.md
128+
- Changes: community/CHANGES.md
129+
- Contributing: community/CONTRIBUTING.md
130+
- Development: community/DEVELOPMENT.md
131+
- Deployment: community/DEPLOYMENT.md

0 commit comments

Comments
 (0)