Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs-sphinx] API Docs HTML build #23749

Closed
wants to merge 6 commits into from
Closed

Conversation

PedramNavid
Copy link
Contributor

Summary & Motivation

This adds a simple HTML layout to the API docs as a proof-of-concept for the docs rebuild. It also fixes some outstanding bugs and errors with our Sphinx build, simplifies the Makefile, and automates finding paths rather than manually adding them in.

This is part of a larger scope of work to improve the contribution process to API docs. The goal is to allow quick, local development of the API docs without having to rebuild the docs site while relying on a build process to create the API artifacts that will get merged into the main docs to avoid merge conflicts.

How I Tested These Changes

bk, local testing.

@graphite-app graphite-app bot added the area: docs Related to documentation in general label Aug 20, 2024
@graphite-app graphite-app bot requested a review from erinkcochran87 August 20, 2024 04:21
Copy link

github-actions bot commented Aug 20, 2024

Deploy preview for dagster-docs ready!

Preview available at https://dagster-docs-o7qve55vl-elementl.vercel.app
https://docs-revamp-sphinx.dagster.dagster-docs.io

Direct link to changed pages:

Base automatically changed from docs/revamp-merge to master August 20, 2024 17:20
@erinkcochran87
Copy link
Contributor

@PedramNavid Is this supposed to be based on/merged into master? I see a lot of files in here I wouldn't expect.

This adds some base linting styles using Vale. These are a collection of
both suggestions and errors that will raise when run against our new
docs site.
This is a single commit for the work done on the new docs revamp
project. In order to keep the commit history clean, changes from the
docs/revamp branch were squashed into a single commit.
This refactors our existing Sphix builder, in prep for the upcoming docs
revamp. The Makefile and requirements are simplified and a bug in the Sphinx extension is fixed.
This removes unused Sphinx layout files and creates a basic Sphinx html
template and layout. While this layout will not be used in the final
version of the docs project, it allows for easily building Sphinx docs
locally as proof-of-concept of the future docs work.
This updates the sphinx conf.py file so that Dagster packages no longer
need to be manually added to the paths. It also adds a few helper
extensions, mainly `sphinx_copybutton` to allow you to copy a code
snippet when output is rendered as html.
Copy link
Contributor Author

@erinkcochran87 i had to rebase, looks to be better now, could you try again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Related to documentation in general
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants