Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,5 @@ poetry.lock
docs/_build/
# sphinxnotes-any >= 2.5
docs/.any*

.worktrees/
18 changes: 18 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
image: python:3.12

stages:
- docs

cache:
key: sphinxnotes-incrbuild
paths:
- /tmp/sphinxnotes-incrbuild

pages:
stage: docs
script:
- pip install sphinxnotes-incrbuild
- sphinxnotes-incrbuild docs public
artifacts:
paths:
- public
24 changes: 23 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,29 @@ __ https://github.com/marketplace/actions/sphinx-to-github-pages
GitLab CI
---------

TODO
``sphinxnotes-incrbuild`` can be used in GitLab CI with the cache mechanism:

.. code-block:: yaml
:emphasize-lines: 4-5,10

image: python:3.12

stages:
- docs

cache:
key: sphinxnotes-incrbuild
paths:
- /tmp/sphinxnotes-incrbuild

pages:
stage: docs
script:
- pip install sphinxnotes-incrbuild
- sphinxnotes-incrbuild docs public
artifacts:
paths:
- public

Contents
========
Expand Down
Loading