forked from alan-turing-institute/sqlsynthgen
-
Notifications
You must be signed in to change notification settings - Fork 1
Overview documentation #76
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
1715f2b
New Overview page
c0bdf4a
First attempt at a documentation publishing workflow
5b0bfe0
Manual dispatch of documentation publish action
7363878
Add Mermaid to the RST lint test
4b19091
Cleaned the pre-commit
5d3bb85
bump docs workflow
a01f9fd
Another attempt to bump docs workflow
734b5e0
temporarily make document publish "push" as well
8167542
Fix working directory for docs build
14fc023
Fix github token expansion
3ee8fdc
Cleaned docs build
1de573a
Fixed backslashes in docstrings
48b6160
Docs publish warning removed
e8edb65
looks like Python shouldn't be invoked as a module
b915337
Deploy the built html dir
a04e453
Not on push, only on workflow_dispatch
e790f34
Overview changes based on Albert's feedback
83ffc81
re-enable docs workflow
8ee385b
Albert's table should be 100% wide
eff4cc1
Added some soft hyphens to the overview
1b9f2eb
Response to Stef's comments
6a3bbe2
Upped version number (really for DuckDB)
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| --- | ||
| name: Publish Documentation | ||
| on: | ||
| push: | ||
| branches: | ||
| # need this to be able to run the workflow until it has been merged into main | ||
| - overview_documentation | ||
| workflow_dispatch: | ||
| env: | ||
| PYTHON_VERSION: "3.12" | ||
| jobs: | ||
| docs: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Code | ||
| uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "${{ env.PYTHON_VERSION }}" | ||
| - name: Install poetry | ||
| shell: bash | ||
| run: | | ||
| sudo apt install python3-poetry | ||
| - name: Configure poetry | ||
| shell: bash | ||
| run: | | ||
| poetry config virtualenvs.in-project true | ||
| - name: Install dependencies | ||
| shell: bash | ||
| run: | | ||
| poetry install --all-extras | ||
| - name: Build documentation | ||
| shell: bash | ||
| working-directory: ./docs | ||
| run: | | ||
| poetry run make html | ||
| - name: Publish docs on github Pages | ||
| uses: peaceiris/actions-gh-pages@v3 | ||
| with: | ||
| publish_branch: gh-pages | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| publish_dir: docs/build/html | ||
| force_orphan: true |
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -138,6 +138,7 @@ datafaker/config.ini | |
|
|
||
| # sphinx | ||
| docs/build/* | ||
| docs/esbonio-build/* | ||
| docs/temp/* | ||
|
|
||
| # vim swap files | ||
|
|
||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| /* Fix for sphinx_rtd_theme's tables, which do not allow line breaks by default */ | ||
| .wy-table-responsive table td, | ||
| .wy-table-responsive table th { | ||
| white-space: normal; | ||
| } |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.