Skip to content

Commit 9014fe6

Browse files
committed
doc: get readthedocs working
1 parent a3d06af commit 9014fe6

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

README.org

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[[ci-badge-main][https://github.com/LabNConsulting/munet/actions/workflows/ci.yml/badge.svg?branch=main]]
55
[[https://codecov.io/gh/LabNConsulting/munet][https://codecov.io/gh/LabNConsulting/munet/branch/main/graph/badge.svg?token=FD2O4YGDTT]]
6-
[[Documentation Status][https://readthedocs.org/projects/munet/badge/?version=latest]]
6+
[[Doc Status][https://munet.readthedocs.io/en/latest/?badge=latest]]
77

88
A package for creating network topologies and running programs and containers
99
within them using linux namepsaces.

poetry.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

readthedocs.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1+
version: 2
12
build:
23
os: ubuntu-20.04
34
tools:
4-
python: '3.10'
5+
python: "3.9"
56
jobs:
6-
post_install:
7+
post_create_environment:
8+
# Install poetry
79
- pip install poetry~=1.2
10+
# Tell poetry to not use a virtual environment
811
- poetry config virtualenvs.create false
9-
- poetry install --with doc
12+
post_install:
13+
# Install dependencies
14+
- poetry install --with docs --with doc
15+
sphinx:
16+
configuration: doc/source/conf.py

0 commit comments

Comments
 (0)