Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PyCommandCenter v2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Bonnaudet
PyCommandCenter v2
Commits
c6887c65
Commit
c6887c65
authored
6 years ago
by
David Bergström
Browse files
Options
Downloads
Patches
Plain Diff
Add auto-building and publishing of documentation
parent
0d45e45c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+22
-0
22 additions, 0 deletions
.gitlab-ci.yml
docs/conf.py
+1
-2
1 addition, 2 deletions
docs/conf.py
with
23 additions
and
2 deletions
.gitlab-ci.yml
0 → 100644
+
22
−
0
View file @
c6887c65
pages
:
image
:
davidbergstrom/pycommandcenterenv
stage
:
deploy
before_script
:
-
git submodule sync --recursive
-
git submodule update --init --recursive
script
:
-
mkdir build
-
cd build
-
cmake ..
-
make -j 3 library
-
cd ../build
-
make html
-
cd ..
-
mkdir .public
-
cp -r docs/_build/html .public
-
mv .public public
artifacts
:
paths
:
-
public
only
:
-
master
\ No newline at end of file
This diff is collapsed.
Click to expand it.
docs/conf.py
+
1
−
2
View file @
c6887c65
...
...
@@ -13,8 +13,7 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
import
sys
,
os
# TODO: Change this if you are not building in Windows and in release mode
sys
.
path
.
append
(
os
.
path
.
join
(
os
.
getcwd
(),
"
..
"
,
"
build
"
,
"
python-api-src
"
,
"
Release
"
))
sys
.
path
.
append
(
os
.
path
.
join
(
os
.
getcwd
(),
"
..
"
,
"
build
"
,
"
python-api-src
"
))
# -- Project information -----------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment