Skip to content

Commit 419dbee

Browse files
authored
Migrate paragraph ids from spec.ferrocene.dev to rust-lang.github.io (#79)
* Migrate paragraph ids from spec.ferrocene.dev to rust-lang.github.io * Update spec.lock
1 parent 868c48a commit 419dbee

File tree

4 files changed

+22751
-22751
lines changed

4 files changed

+22751
-22751
lines changed

builder/build_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Automatically watch the following extra directories when --serve is used.
1919
EXTRA_WATCH_DIRS = ["exts", "themes"]
2020

21-
SPEC_CHECKSUM_URL = "https://spec.ferrocene.dev/paragraph-ids.json"
21+
SPEC_CHECKSUM_URL = "https://rust-lang.github.io/fls/paragraph-ids.json"
2222
SPEC_LOCKFILE = "spec.lock"
2323

2424
def build_docs(

exts/coding_guidelines/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def setup(app):
4747
types=[str],
4848
)
4949
app.add_config_value(name='fls_paragraph_ids_url',
50-
default='https://spec.ferrocene.dev/paragraph-ids.json',
50+
default='https://rust-lang.github.io/fls/paragraph-ids.json',
5151
rebuild='env')
5252
app.add_config_value(name='enable_spec_lock_consistency',
5353
default=True,

exts/coding_guidelines/fls_checks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# Get the Sphinx logger
1313
logger = logging.getLogger('sphinx')
14-
fls_paragraph_ids_url = "https://spec.ferrocene.dev/paragraph-ids.json"
14+
fls_paragraph_ids_url = "https://rust-lang.github.io/fls/paragraph-ids.json"
1515

1616
class FLSValidationError(SphinxError):
1717
category = "FLS Validation Error"
@@ -206,7 +206,7 @@ def gather_fls_paragraph_ids(app, json_url):
206206
return {}, None
207207

208208
# Base URL for constructing direct links
209-
base_url = "https://spec.ferrocene.dev/"
209+
base_url = "https://rust-lang.github.io/"
210210

211211
# Process each document in the JSON structure
212212
for document in data['documents']:

0 commit comments

Comments
 (0)