Skip to content

Commit

Permalink
docs: Render the readme in Sphinx (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jul 30, 2023
1 parent 8dd4933 commit 685504e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
- ✅ preserves "quiet mode" trailing semicolons
- ✅ lints both code and markdown cells

# Table of contents
## Table of contents

- [Table of contents](#table-of-contents)
- [🎉 Installation](#-installation)
Expand Down
6 changes: 5 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,16 @@
"sphinx.ext.autodoc",
"sphinx.ext.viewcode",
"sphinx.ext.napoleon",
"myst_parser",
]

add_module_names = False
autodoc_member_order = "bysource"
autodoc_typehints = "description"

myst_title_to_header = True
myst_heading_anchors = 3

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

Expand Down Expand Up @@ -70,7 +74,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = "en"

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down
2 changes: 2 additions & 0 deletions docs/readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Overview

```{include} ../README.md
```

0 comments on commit 685504e

Please sign in to comment.