Skip to content
Merged
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: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python:1-3.8-bookworm",
"image": "mcr.microsoft.com/devcontainers/python:1-3.9-bookworm",
"postCreateCommand": "pip3 install --user -r requirements.txt"
}
7 changes: 4 additions & 3 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9

- name: Cache python env
uses: actions/cache@v4
Expand Down Expand Up @@ -57,7 +57,8 @@ jobs:
name: html
path: html.tar.gz

# TODO: Look into why we need to ignore archive/tag/index
- name: Check links
if: success()
run: |
htmlproofer --ignore-files "/404/,/2013/,/2014/,/2015/,/2016/,/2017/,/search\/index.html/" --allow-hash-href=true --enforce-https=false --ignore-missing-alt=true --disable-external=true docs/_build/html
htmlproofer --ignore-files "/404/,/2013/,/2014/,/2015/,/2016/,/2017/,/search\/index.html/,/archive\/tag\/index/" --allow-hash-href=true --enforce-https=false --ignore-missing-alt=true --disable-external=true docs/_build/html
4 changes: 2 additions & 2 deletions .github/workflows/validate_yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9

- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9

- name: Cache python env
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.8.16
3.9.21
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.9"


python:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ If you run into trouble with broken links to video files, have a look at `_ext/f

### Prerequisites for generating the docs locally

1. Install `python 3.8.x` using your package manager, if not installed already. You'll probably need `root` privileges to do this.
1. Install `python 3.9.x` using your package manager, if not installed already. You'll probably need `root` privileges to do this.

2. Generate a virtual environment for the WTD repo in the `venv` directory:

`virtualenv --python=/usr/bin/python3.8 venv`
`virtualenv --python=/usr/bin/python3.9 venv`

### Installing the project requirements

Expand Down
2 changes: 0 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ def _load_data(self, env, data_source, encoding):
'videos/prague/2018/tackling-technical-debt-in-the-docs-louise-fahey.rst',
]

html4_writer = True

# We use these *local* environment variables for private info like free ticket links

cfp_variables = {}
Expand Down
9 changes: 5 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
Sphinx==4.5.0
Sphinx==5.3.0

# make livehtml support
sphinx_autobuild==2021.3.14

# Markdown support
myst-parser==0.17.2
myst-parser==0.18.0

# Blogging
ablog==0.10.6 # pyup: ignore
ablog==0.10.31 # pyup: ignore

# Sphinx (checked with 4.3) requires docutils=<0.18
docutils==0.17.1 # pyup: <0.18
PyYAML>=4.2b1
PyYAML==6.0.2
pytz==2024.2

# Additional libraries
csvkit==1.0.7
Expand Down
Loading