-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add skeleton for publishing docs to github.io
- Loading branch information
Showing
9 changed files
with
104 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Publish docs | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- "docs/**" | ||
- "mkdocs.yml" | ||
workflow_dispatch: # Allows to trigger the workflow manually in GitHub UI | ||
|
||
jobs: | ||
run: | ||
name: "deploy docs" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
# See <https://github.com/mkdocs/mkdocs/issues/2370#issuecomment-821926264> | ||
fetch-depth: 0 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.12 | ||
|
||
- name: Set up pip cache | ||
if: runner.os == 'Linux' | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }} | ||
restore-keys: ${{ runner.os }}-pip- | ||
|
||
- name: Install hatch | ||
run: | | ||
pipx install hatch | ||
- name: Publish doc | ||
run: hatch env run -e docs mkdocs gh-deploy |
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
Empty file.
Empty file.
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Home | ||
|
||
This site contains the project documentation for the | ||
`calculator` project that is a toy module used in the | ||
Real Python tutorial | ||
[Build Your Python Project Documentation With MkDocs]( | ||
https://realpython.com/python-project-documentation-with-mkdocs/). | ||
Its aim is to give you a framework to build your | ||
project documentation using Python, MkDocs, | ||
mkdocstrings, and the Material for MkDocs theme. | ||
|
||
## Table Of Contents | ||
|
||
The documentation follows the best practice for | ||
project documentation as described by Daniele Procida | ||
in the [Diátaxis documentation framework](https://diataxis.fr/) | ||
and consists of four separate parts: | ||
|
||
1. [Tutorials](tutorials.md) | ||
2. [How-To Guides](how-to-guides.md) | ||
3. [Reference](reference.md) | ||
4. [Explanation](explanation.md) | ||
|
||
Quickly find what you're looking for depending on | ||
your use case by looking at the different pages. | ||
|
||
## Project Overview | ||
|
||
::: tablegpt | ||
|
||
## Acknowledgements | ||
|
||
I want to thank my house plants for providing me with | ||
a negligible amount of oxygen each day. Also, I want | ||
to thank the sun for providing more than half of their | ||
nourishment free of charge. |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# API Reference | ||
|
||
::: tablegpt.agent.create_tablegpt_graph |
Empty file.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
site_name: TableGPT Agent | ||
|
||
theme: | ||
name: "material" | ||
|
||
plugins: | ||
- mkdocstrings | ||
|
||
nav: | ||
- index.md | ||
- tutorials.md | ||
- how-to-guides.md | ||
- reference.md | ||
- explanation.md |
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