Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
1775dd1f
Unverified
Commit
1775dd1f
authored
Jul 26, 2021
by
Me No Dev
Committed by
GitHub
Jul 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ReadTheDocs CI (#5456)
parent
6972695d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
1 deletion
+39
-1
.github/workflows/docs.yml
.github/workflows/docs.yml
+38
-0
docs/source/conf.py
docs/source/conf.py
+1
-1
No files found.
.github/workflows/docs.yml
0 → 100644
View file @
1775dd1f
name
:
ReadTheDocs CI
on
:
push
:
branches
:
-
master
-
release/*
paths
:
-
'
docs/**'
-
'
.github/workflows/docs.yml'
pull_request
:
paths
:
-
'
docs/**'
-
'
.github/workflows/docs.yml'
jobs
:
build-docs
:
name
:
Build ReadTheDocs
runs-on
:
ubuntu-latest
defaults
:
run
:
shell
:
bash
steps
:
-
uses
:
actions/checkout@v2
with
:
submodules
:
true
-
uses
:
actions/setup-python@v2
with
:
python-version
:
'
3.x'
-
name
:
Build
run
:
|
sudo apt update
sudo apt install python3-pip python3-setuptools
# GitHub CI installs pip3 and setuptools outside the path.
# Update the path to include them and run.
PATH=/home/runner/.local/bin:$PATH pip3 install --user -r ./docs/requirements.txt
cd ./docs && PATH=/home/runner/.local/bin:$PATH SPHINXOPTS="-W" make html
docs/source/conf.py
View file @
1775dd1f
...
...
@@ -56,7 +56,7 @@ exclude_patterns = []
# a list of builtin themes.
#
html_theme
=
'default'
html_logo
=
'logo_espressif.png'
html_logo
=
'
_static/
logo_espressif.png'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment