Skip to content

Commit

Permalink
doc: update doc and github action
Browse files Browse the repository at this point in the history
  • Loading branch information
chenweize1998 committed Jul 9, 2024
1 parent b9ea0dd commit 7779071
Show file tree
Hide file tree
Showing 150 changed files with 914 additions and 21,127 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Sphinx: Render docs"

on: push

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx furo
- name: Build HTML
run: |
make html -e
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: html-docs
path: docs/build/html/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html


Binary file removed docs/.DS_Store
Binary file not shown.
20 changes: 20 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
Binary file removed docs/_images/.DS_Store
Binary file not shown.
Binary file removed docs/_images/image.png
Binary file not shown.
Binary file removed docs/_images/server-client.jpg
Binary file not shown.
Binary file removed docs/_images/server.png
Binary file not shown.
77 changes: 0 additions & 77 deletions docs/_sources/case/IOA.rst.txt

This file was deleted.

51 changes: 0 additions & 51 deletions docs/_sources/distributed_service/config.rst.txt

This file was deleted.

76 changes: 0 additions & 76 deletions docs/_sources/getting_started/installation.rst.txt

This file was deleted.

48 changes: 0 additions & 48 deletions docs/_sources/high_level_concepts/code_structure.rst.txt

This file was deleted.

51 changes: 0 additions & 51 deletions docs/_sources/high_level_concepts/framework.rst.txt

This file was deleted.

Loading

0 comments on commit 7779071

Please sign in to comment.