Skip to content

Commit a3b63db

Browse files
committed
feat: converting documentation to mkdocs
1 parent 6d864c4 commit a3b63db

File tree

9 files changed

+628
-4
lines changed

9 files changed

+628
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ tests/test_orca/images/linux/failed/
1313

1414
doc/python/raw.githubusercontent.com/
1515

16+
docs/
17+
1618
# Don't ignore dataset files
1719
!*.csv.gz
1820
!*.geojson.gz

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ then explains the technical aspects of preparing your contribution.
88

99
## Code of Conduct
1010

11-
Please note that all contributos are required to abide by our [Code of Conduct](CODE_OF_CONDUCT.md).
11+
Please note that all contributos are required to abide by our Code of Conduct.
1212

1313
## Different Ways to Contribute
1414

@@ -38,7 +38,7 @@ it is important to understand the structure of the code and the repository.
3838
These are organized in subdirectories according to what they test:
3939
see the "Setup" section below for more details.
4040

41-
- Documentation is found in `doc/`, and its structure is described in [its README file](doc/README.md).
41+
- Documentation is found in `doc/`, and its structure is described in its README file.
4242
The documentation is a great place to start contributing,
4343
since you can add or modify examples without setting up a full environment.
4444

mkdocs.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
site_name: "Plotly.py Docs"
2+
docs_dir: pages
3+
site_dir: docs
4+
nav:
5+
- Home: index.md
6+
- Project:
7+
- license.md
8+
- conduct.md
9+
- contributing.md
10+
11+
theme:
12+
name: "material"
13+
14+
markdown_extensions:
15+
- def_list
16+
- markdown_include.include:
17+
base_path: docs
18+
- footnotes
19+
20+
exclude_docs: >
21+
*~

pages/conduct.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{!../CODE_OF_CONDUCT.md!}

pages/contributing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{!../CONTRIBUTING.md!}

pages/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{!../README.md!}

pages/license.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{!../LICENSE.txt!}

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ dev_core = [
5050
dev_build = [
5151
"plotly[dev_core]",
5252
"build",
53-
"jupyter"
53+
"jupyter",
54+
"markdown-include",
55+
"mkdocs",
56+
"mkdocs-material",
57+
"mkdocstrings[python]"
5458
]
5559
dev_optional = [
5660
"plotly[dev_build]",

uv.lock

Lines changed: 594 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)