Skip to content

Commit f163ad4

Browse files
committed
docs: remove the RST user guide
1 parent 6689079 commit f163ad4

2,115 files changed

Lines changed: 3 additions & 69743 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.gitattributes‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ utils/ export-ignore
2121
.php-cs-fixer.dist.php export-ignore
2222
.php-cs-fixer.no-header.php export-ignore
2323
.php-cs-fixer.tests.php export-ignore
24-
.php-cs-fixer.user-guide.php export-ignore
2524
structarmed-baseline.php export-ignore
2625
structarmed.php export-ignore
2726
phpstan-baseline.php export-ignore
@@ -35,8 +34,6 @@ rector.php export-ignore
3534
AGENTS.md export-ignore
3635

3736
# source user guide
38-
user_guide_src/ export-ignore
3937
docs/ export-ignore
4038
mkdocs.yml export-ignore
41-
.nojekyll export-ignore
4239
phpdoc.dist.xml export-ignore

‎.github/workflows/test-userguide.yml‎

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# When a Pull Request is opened that modifies
22
# the User Guide source, build the User Guide
3-
# with Sphinx or MkDocs and let the contributor
3+
# with MkDocs and let the contributor
44
# know of any errors.
55
name: Test User Guide
66

77
on:
88
pull_request:
99
paths:
10-
- 'user_guide_src/**'
1110
- 'docs/**'
1211
- 'mkdocs.yml'
1312
- 'admin/anchors.py'
@@ -23,33 +22,8 @@ permissions:
2322
contents: read
2423

2524
jobs:
26-
syntax_check:
27-
name: Check User Guide syntax
28-
runs-on: ubuntu-24.04
29-
30-
steps:
31-
- name: Checkout
32-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
33-
34-
- name: Setup Python
35-
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
36-
with:
37-
python-version: '3.12'
38-
39-
- name: Install Sphinx
40-
run: |
41-
python -m pip install --upgrade pip
42-
pip install -r user_guide_src/requirements.txt
43-
44-
- name: Detect usage of tabs in RST files
45-
run: php utils/check_tabs_in_rst.php
46-
47-
- name: Build Docs with Sphinx
48-
run: make html SPHINXOPTS="-W --keep-going -w /tmp/sphinx-log"
49-
working-directory: user_guide_src
50-
5125
markdown_check:
52-
name: Check Markdown User Guide
26+
name: Check User Guide
5327
runs-on: ubuntu-24.04
5428

5529
steps:

‎.nojekyll‎

Whitespace-only changes.

‎.php-cs-fixer.dist.php‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
__FILE__,
3131
__DIR__ . '/.php-cs-fixer.no-header.php',
3232
__DIR__ . '/.php-cs-fixer.tests.php',
33-
__DIR__ . '/.php-cs-fixer.user-guide.php',
3433
__DIR__ . '/preload.php',
3534
__DIR__ . '/rector.php',
3635
__DIR__ . '/spark',

‎.php-cs-fixer.user-guide.php‎

Lines changed: 0 additions & 48 deletions
This file was deleted.

‎admin/next-changelog-minor.rst‎

Lines changed: 0 additions & 84 deletions
This file was deleted.

‎admin/next-changelog-patch.rst‎

Lines changed: 0 additions & 35 deletions
This file was deleted.

‎admin/next-upgrading-guide.rst‎

Lines changed: 0 additions & 55 deletions
This file was deleted.

‎admin/pre-commit‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
PROJECT=`php -r "echo dirname(dirname(dirname(realpath('$0'))));"`
44
STAGED_PHP_FILES=`git diff --cached --name-only --diff-filter=ACMR HEAD | grep \\\\.php$`
5-
STAGED_RST_FILES=`git diff --cached --name-only --diff-filter=ACMR HEAD | grep \\\\.rst$`
65

76
echo "Starting CodeIgniter precommit..."
87

@@ -32,9 +31,4 @@ if [ "$FILES" != "" ]; then
3231
fi
3332
fi
3433

35-
if [ "$STAGED_RST_FILES" != "" ]; then
36-
echo "Checking for tabs in RST files"
37-
php ./utils/check_tabs_in_rst.php
38-
fi
39-
4034
exit $?

‎composer.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,12 @@
102102
],
103103
"cs": [
104104
"Composer\\Config::disableProcessTimeout",
105-
"utils/vendor/bin/php-cs-fixer check --ansi --verbose --diff --config=.php-cs-fixer.user-guide.php",
106105
"utils/vendor/bin/php-cs-fixer check --ansi --verbose --diff --config=.php-cs-fixer.no-header.php",
107106
"utils/vendor/bin/php-cs-fixer check --ansi --verbose --diff --config=.php-cs-fixer.tests.php",
108107
"utils/vendor/bin/php-cs-fixer check --ansi --verbose --diff"
109108
],
110109
"cs-fix": [
111110
"Composer\\Config::disableProcessTimeout",
112-
"utils/vendor/bin/php-cs-fixer fix --ansi --verbose --diff --config=.php-cs-fixer.user-guide.php",
113111
"utils/vendor/bin/php-cs-fixer fix --ansi --verbose --diff --config=.php-cs-fixer.no-header.php",
114112
"utils/vendor/bin/php-cs-fixer fix --ansi --verbose --diff --config=.php-cs-fixer.tests.php",
115113
"utils/vendor/bin/php-cs-fixer fix --ansi --verbose --diff"

0 commit comments

Comments
 (0)