Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #304 from scaleoutsystems/develop
Release v0.3.0
- Loading branch information
Showing
128 changed files
with
11,710 additions
and
8,554 deletions.
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,50 @@ | ||
name: Sphinx to GitHub Pages | ||
|
||
on: | ||
# Trigger the workflow on push or pull request, | ||
# but only for the main branch | ||
push: | ||
branches: [ develop ] | ||
pull_request: | ||
branches: [ develop ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Checkout current repository | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | ||
token: ${{ secrets.PAT }} | ||
|
||
- name: Run sphinx-apidoc | ||
run: | | ||
pip install sphinx fedn | ||
cd docs | ||
echo "Remove any existing fedn.*rst" | ||
rm -v source/fedn.*rst || true | ||
echo "Generate API documentation" | ||
sphinx-apidoc -f -o source/ ../fedn/fedn/ | ||
git status | ||
- name: Commit and push workflow changes back into repo | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
file_pattern: docs/source/*.rst | ||
commit_message: Apply sphinx action changes | ||
branch: develop | ||
push_options: --force | ||
|
||
- name: Run sphinx-build and commit to gh-pages | ||
uses: sphinx-notes/pages@master | ||
with: | ||
documentation_path: docs/source | ||
|
||
- name: Push sphinx-build to gh-pages | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.SPHINX_GH_TOKEN }} | ||
branch: gh-pages |
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
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
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
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 |
---|---|---|
|
@@ -8,4 +8,4 @@ combiner: | |
name: combiner | ||
host: combiner | ||
port: 12080 | ||
max_clients: 30 | ||
max_clients: 30 |
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 @@ | ||
|
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,35 @@ | ||
# 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 | ||
|
||
# html alias | ||
html: | ||
@echo "Remove any existing fedn.*.rst" | ||
@rm -v $(SOURCEDIR)/fedn.*rst || true | ||
|
||
@echo "Generate API documentation" | ||
@sphinx-apidoc -f -o ./source ../fedn/fedn | ||
|
||
@echo "Generate HTML documentation" | ||
@$(SPHINXBUILD) -b html "$(SOURCEDIR)" "$(BUILDDIR)" | ||
|
||
@echo | ||
@echo "Build finished." | ||
@echo | ||
|
||
# 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) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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,35 @@ | ||
@ECHO OFF | ||
|
||
pushd %~dp0 | ||
|
||
REM Command file for Sphinx documentation | ||
|
||
if "%SPHINXBUILD%" == "" ( | ||
set SPHINXBUILD=sphinx-build | ||
) | ||
set SOURCEDIR=source | ||
set BUILDDIR=build | ||
|
||
if "%1" == "" goto help | ||
|
||
%SPHINXBUILD% >NUL 2>NUL | ||
if errorlevel 9009 ( | ||
echo. | ||
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx | ||
echo.installed, then set the SPHINXBUILD environment variable to point | ||
echo.to the full path of the 'sphinx-build' executable. Alternatively you | ||
echo.may add the Sphinx directory to PATH. | ||
echo. | ||
echo.If you don't have Sphinx installed, grab it from | ||
echo.https://www.sphinx-doc.org/ | ||
exit /b 1 | ||
) | ||
|
||
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | ||
goto end | ||
|
||
:help | ||
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | ||
|
||
:end | ||
popd |
This file was deleted.
Oops, something went wrong.
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,32 @@ | ||
html { | ||
scroll-behavior: smooth; | ||
} | ||
|
||
a { | ||
color: #0298fb; | ||
} | ||
|
||
.vp-sidebar .toctree-l1 a:link, .vp-sidebar .toctree-l2 a:link { | ||
color: #000; | ||
} | ||
|
||
.vp-sidebar .toctree-l1 a:active, .vp-sidebar .toctree-l2 a:active { | ||
font-weight: 500; | ||
} | ||
|
||
|
||
.vp-sidebar .toctree-l1 a:hover, .vp-sidebar .toctree-l2 ,a:hover { | ||
color: #0298fb; | ||
} | ||
|
||
.vp-sidebar .toctree-l1.current a { | ||
border-left: .5rem solid #02bbff; | ||
} | ||
|
||
.vp-sidebar .toctree-l1 a.current { | ||
border-left-color: #0076ff; | ||
} | ||
|
||
.highlight pre { | ||
color: #48b685; | ||
} |
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,5 @@ | ||
@import url("theme.css"); | ||
|
||
.wy-nav-content { | ||
max-width: 90%; | ||
} |
Binary file not shown.
Oops, something went wrong.