-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dfe6b07
commit 77bbe41
Showing
1 changed file
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
<insert> | ||
# Sphinx Documentation | ||
# Dagster API Documentation | ||
Check warning on line 1 in docs/sphinx/README.md GitHub Actions / runner / vale
|
||
|
||
This directory contains the Sphinx documentation for the project. Below are the available make commands to help you build and manage the documentation. | ||
This directory contains the Sphinx documentation for the Dagster API. | ||
The core API documentation is created in `index.rst` and the files in `sections/api/apidocs`. | ||
|
||
## Make Commands | ||
There are currently two workflows for generating the API documentation: | ||
|
||
### `help` | ||
Displays a list of available make commands with descriptions. | ||
- The existing workflow uses tox to generate JSON output that is read by our NextJS | ||
Check warning on line 8 in docs/sphinx/README.md GitHub Actions / runner / vale
Check warning on line 8 in docs/sphinx/README.md GitHub Actions / runner / vale
|
||
site. Running tox or `make json` will generate JSON output | ||
- The new workflow uses Sphinx to generate HTML output. You can run `make html` | ||
to generate HTML output, and view the static site by opening `build/html/index.html`. | ||
|
||
## Development | ||
|
||
Run `make install` to install the necessary dependencies for building the documentation. | ||
|
||
You can run `make watch` to watch for changes to the API documentation and automatically rebuild the documentation. | ||
Note: some changes might not be reflected immediately, for example style-sheets. | ||
You can run `make clean` and `make html` to force a full rebuild. |