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
1 change: 0 additions & 1 deletion .github/scripts/deploy-userguide
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export NO_MKDOCS_2_WARNING=1
export SITE_URL=https://codeigniter.com/user_guide/
mkdocs build --strict
python admin/llms.py
python admin/anchors.py

# Prepare the target
cd $TARGET
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/deploy-userguide-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:
paths:
- 'docs/**'
- 'mkdocs.yml'
- 'admin/anchors.py'
- 'admin/llms.py'
- '.github/workflows/deploy-userguide-latest.yml'
workflow_dispatch:
Expand Down Expand Up @@ -73,7 +72,6 @@ jobs:
cd "${name}"
SITE_URL="${BASE_URL}/${name}/" mkdocs build --strict
python admin/llms.py
python admin/anchors.py
)

mv "${name}/site" "pages/${name}"
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/test-userguide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
paths:
- 'docs/**'
- 'mkdocs.yml'
- 'admin/anchors.py'
- 'admin/llms.py'
- 'admin/update-docs-nav.php'
- '.github/workflows/test-userguide.yml'
Expand Down Expand Up @@ -56,7 +55,5 @@ jobs:
NO_MKDOCS_2_WARNING: '1'
run: mkdocs build --strict

- name: Write the llms files and the anchor aliases
run: |
python admin/llms.py
python admin/anchors.py
- name: Write the llms files
run: python admin/llms.py
6 changes: 1 addition & 5 deletions admin/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ venv/bin/pip install -r docs/requirements.txt
rm -rf site/
```

2. Build the site, the llms files and the anchor aliases:
2. Build the site and the llms files:

```bash
SITE_URL=https://codeigniter.com/user_guide/ venv/bin/mkdocs build --strict
Expand All @@ -557,10 +557,6 @@ venv/bin/pip install -r docs/requirements.txt
venv/bin/python admin/llms.py
```

```bash
venv/bin/python admin/anchors.py
```

3. Switch to the **userguide** repository and create the branch `release-$VERSION`.
4. Replace **docs/** with **CodeIgniter4/site**.
5. Commit the changes with the message `Update for $VERSION` and push to `origin`.
Expand Down
42 changes: 0 additions & 42 deletions admin/anchors.py

This file was deleted.

Loading