ci: add a step for Sphinx docs
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Anna “CyberTailor” 2023-05-08 09:22:34 +05:00
parent 6579676c0e
commit 37683413b5
Signed by: CyberTaIlor
GPG Key ID: E7B76EDC50864BB1
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,4 @@
---
kind: pipeline
type: docker
name: default
@ -7,3 +8,9 @@ steps:
image: nimlang/nim:alpine
commands:
- testament --megatest:off all
- name: sphinx-doc
image: sphinxdoc/sphinx:latest
commands:
- pip install -r docs/requirements.txt
- sphinx-build docs docs/_build

4
docs/requirements.txt Normal file
View File

@ -0,0 +1,4 @@
insipid-sphinx-theme
sphinx-notfound-page
sphinx-prompt
sphinx-sitemap