Skip to content

Commit 5f7d857

Browse files
committed
docs: update structure
1 parent 523843a commit 5f7d857

9 files changed

Lines changed: 52 additions & 44 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "Python project",
2+
"name": "Django project",
33
"dockerComposeFile": "docker-compose.yml",
4-
"service": "project",
4+
"service": "django",
55
"workspaceFolder": "/workspaces",
66
"remoteUser": "vscode",
77
"mounts": [
@@ -22,7 +22,8 @@
2222
"GitHub.copilot-chat",
2323
"ms-vsliveshare.vsliveshare",
2424
"GitHub.vscode-pull-request-github",
25-
"github.vscode-github-actions"
25+
"github.vscode-github-actions",
26+
"redhat.vscode-yaml"
2627
],
2728
"settings": {
2829
"[python]": {

.devcontainer/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
version: '3.8'
22

33
services:
4-
project: # TODO change this to your project name
5-
container_name: project # TODO change this to your project name
4+
django: # TODO change this to your project name
5+
container_name: django # TODO change this to your project name
66
extra_hosts:
77
- host.docker.internal:host-gateway
88
init: true
File renamed without changes.
File renamed without changes.

mkdocs.yml

Lines changed: 46 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,59 @@
11
site_name: project_name
2-
docs_dir: docs/docs
2+
docs_dir: docs
33
nav:
4-
- Getting Started:
5-
- Package Overview: 'getting_started/overview.md'
6-
- Installation: 'getting_started/installation.md'
7-
- Basic Usage: 'getting_started/basic_usage.md'
8-
- Contributing: 'getting_started/contributing.md'
9-
# - User Guide:
10-
- API Reference: reference/
11-
extra_css:
12-
- css/code_select.css
4+
- Getting Started:
5+
- Package Overview: "getting_started/overview.md"
6+
- Installation: "getting_started/installation.md"
7+
- Basic Usage: "getting_started/basic_usage.md"
8+
- Contributing: "getting_started/contributing.md"
9+
# - User Guide:
10+
- API Reference: reference/
11+
12+
copyright: Copyright © 2023 Paul-B98
13+
1314
theme:
1415
name: material
15-
repo_url: 'https://github.com/Paul-B98/python-project-template'
16+
repo_url: "https://github.com/Paul-B98/python-project-template"
1617
features:
1718
- navigation.tabs
1819
- navigation.footer
20+
1921
extra:
2022
social:
21-
- icon: fontawesome/brands/github
22-
link: https://github.com/Paul-B98/python-project-template
23-
- icon: fontawesome/brands/python
24-
link: https://pypi.org/project/ # TODO change this to your project name
25-
copyright: Copyright © 2023 AIDH-MS
23+
- icon: fontawesome/brands/github
24+
link: https://github.com/Paul-B98/python-project-template
25+
- icon: fontawesome/brands/python
26+
link: https://pypi.org/project/ # TODO change this to your project name
27+
28+
extra_css:
29+
- assets/css/code_select.css
30+
- assets/css/fonts.css
2631

2732
markdown_extensions:
28-
- attr_list
29-
- pymdownx.highlight:
30-
linenums: true
31-
use_pygments: true
32-
pygments_lang_class: true
33-
- pymdownx.superfences
34-
- pymdownx.extra
35-
- footnotes
33+
- attr_list
34+
- pymdownx.highlight:
35+
linenums: true
36+
use_pygments: true
37+
pygments_lang_class: true
38+
- pymdownx.superfences
39+
- pymdownx.extra
40+
- footnotes
41+
- pymdownx.arithmatex:
42+
generic: true
3643

3744
plugins:
38-
- search:
39-
- macros:
40-
include_dir: ./
41-
- gen-files:
42-
scripts:
43-
- docs/scripts/gen_ref_pages.py
44-
- literate-nav:
45-
nav_file: SUMMARY.md
46-
- section-index
47-
- mkdocstrings:
48-
handlers:
49-
python:
50-
paths: ['project_name']
51-
options:
52-
docstring_style: numpy
45+
- search:
46+
- macros:
47+
include_dir: ./
48+
- gen-files:
49+
scripts:
50+
- docs/scripts/gen_ref_pages.py
51+
- literate-nav:
52+
nav_file: SUMMARY.md
53+
- section-index
54+
- mkdocstrings:
55+
handlers:
56+
python:
57+
paths: ["project_name"]
58+
options:
59+
docstring_style: numpy

0 commit comments

Comments
 (0)