Skip to content

Commit f084923

Browse files
Try to fix readthedocs
Update index.md Update zensical.toml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update .readthedocs.yml Update pyproject.toml Update .readthedocs.yml Update .readthedocs.yml
1 parent c48fbe1 commit f084923

File tree

4 files changed

+15
-19
lines changed

4 files changed

+15
-19
lines changed

.readthedocs.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
version: 2
22

33
build:
4-
os: ubuntu-lts-latest
4+
os: ubuntu-24.04
55
tools:
6-
python: 'latest'
7-
rust: 'latest'
8-
# You can also specify other tool versions:
6+
python: '3.13'
97
jobs:
10-
post_install:
11-
# Install with docs extras
12-
- python -m pip install uv
13-
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync
14-
8+
pre_create_environment:
9+
- asdf plugin add uv
10+
- asdf install uv latest
11+
- asdf global uv latest
12+
create_environment:
13+
- cd docs && uv venv
14+
install:
15+
- cd docs && uv sync
1516
build:
1617
html:
17-
- zensical build
18+
- cd docs && uv run zensical build --clean
1819

1920
post_build:
2021
- mkdir -p $READTHEDOCS_OUTPUT/html/
21-
- cp --recursive site/* $READTHEDOCS_OUTPUT/html/
22-
23-
python:
24-
install:
25-
- method: pip
26-
path: .
22+
- cd docs && cp --recursive site/* $READTHEDOCS_OUTPUT/html/

docs/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "bittorrent-rust"
33
version = "0.1.0"
4-
description = "Add your description here"
4+
description = "A modern bencode parser written from scratch for the next generation of torrent streaming"
55
readme = "README.md"
66
requires-python = ">=3.13"
77
dependencies = ["zensical>=0.0.10"]

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A modern bencode parser written from scratch for the next generation of torrent
1313

1414
---
1515

16-
Documentation :
16+
Documentation : https://bencode-rust.readthedocs.io/
1717

1818
Source Code : https://github.com/baseplate-admin/bencode-rs
1919

docs/zensical.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ site_author = "baseplate-admin"
2727
# The site_url is the canonical URL for your site. When building online
2828
# documentation you should set this.
2929
# Read more: https://zensical.org/docs/setup/basics/#site_url
30-
#site_url = "https://www.example.com/"
30+
site_url = "https://bencode-rust.readthedocs.io/"
3131

3232
# The copyright notice appears in the page footer and can contain an HTML
3333
# fragment.

0 commit comments

Comments
 (0)