-
Notifications
You must be signed in to change notification settings - Fork 2
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
chore(docs): Setup docs publishing to GitHub Pages #832
Conversation
@@ -0,0 +1,48 @@ | |||
name: Publish Docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This helps align the workflow to our other repos. I renamed the file but git
thinks I deleted and created a new one 🤷🏽♂️.
@@ -0,0 +1,59 @@ | |||
# Configuration file for the Sphinx documentation builder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This matches most of the old config but removes redundant pieces and cleans it up a bit.
@@ -0,0 +1,29 @@ | |||
dataquality.clients package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of the RST files are auto-generated.
@@ -65,7 +65,8 @@ doc = [ | |||
"myst-parser", | |||
"sphinx-markdown-builder", | |||
"sphinx-autobuild", | |||
"sphinx-markdown-builder" | |||
"sphinx-markdown-builder", | |||
"autodoc-pydantic" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this package.
) | ||
ctx.run("sphinx-apidoc -f -o docs/source/ dataquality/", pty=True, echo=True) | ||
ctx.run("sphinx-build -M markdown docs/source docs/build/md", echo=True) | ||
ctx.run("sphinx-build -b html docs/source/ docs/build/html", echo=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got rid of the Makefile
and just writing down the actual command we need.
This pull request has been linked to Shortcut Story #12701: [dq] Move docs to GitHub pages. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #832 +/- ##
==========================================
+ Coverage 86.37% 86.40% +0.02%
==========================================
Files 196 196
Lines 15836 15848 +12
==========================================
+ Hits 13679 13694 +15
+ Misses 2157 2154 -3 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this replace sphinx? Would love to get rid of that
It uses Sphinx. Curious why? |
Shortcut: https://app.shortcut.com/galileo/story/12701/dq-move-docs-to-github-pages
Description: I'm refactoring how we build the docs to make it cleaner and less hard-coded. We're also moving the publishing of the docs to GitHub Pages to http://dataquality.docs.rungalileo.io/.
Changes:
autodoc-pydantic
dataquality-docs
Tests: