Skip to content

Commit 23672a8

Browse files
authored
Merge pull request #182 : Provide redirect for deleted pages
2 parents 5903854 + 668b325 commit 23672a8

File tree

9 files changed

+26
-97
lines changed

9 files changed

+26
-97
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ jobs:
106106
pip install mkdocs
107107
pip install mkdocs-material
108108
pip install mkdocs-open-in-new-tab
109+
pip install mkdocs-redirects
109110
pip install mkdocs-with-pdf
110111
111112
- name: Copy contributing tab files
@@ -139,6 +140,7 @@ jobs:
139140
pip install mkdocs
140141
pip install mkdocs-material
141142
pip install mkdocs-open-in-new-tab
143+
pip install mkdocs-redirects
142144
pip install mkdocs-with-pdf
143145
144146
- name: Build check

.github/workflows/pr.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
uses: lycheeverse/[email protected]
2020
with:
2121
args: >-
22+
--exclude 'github\.com/OWASP/DevGuide/blob/main/docs'
2223
--no-progress
2324
--max-retries 1
2425
--retry-wait-time 10
@@ -113,6 +114,7 @@ jobs:
113114
pip install mkdocs
114115
pip install mkdocs-material
115116
pip install mkdocs-open-in-new-tab
117+
pip install mkdocs-redirects
116118
pip install mkdocs-with-pdf
117119
118120
- name: Copy contributing tab files
@@ -143,6 +145,7 @@ jobs:
143145
pip install mkdocs
144146
pip install mkdocs-material
145147
pip install mkdocs-open-in-new-tab
148+
pip install mkdocs-redirects
146149
pip install mkdocs-with-pdf
147150
148151
- name: Build pdf for EN

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
pip install mkdocs
2929
pip install mkdocs-material
3030
pip install mkdocs-open-in-new-tab
31+
pip install mkdocs-redirects
3132
pip install mkdocs-with-pdf
3233
3334
- name: Build

.lycheeignore

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# ignore these false positives from the link checker housekeeper
22

3-
# some sites that are examples only, no intention of being real
4-
myfriend.site.com/
5-
63
# Lockheed Martin has trouble with SSL certificates, temporarily ignore
74
www.lockheedmartin.com
85

@@ -14,7 +11,7 @@ github.com/OWASP/DevGuide/pulls
1411
github.com
1512

1613
# ignore LINDDUN site because it occasionally times out
17-
www.linddun.org/
14+
linddun.org/
1815

1916
# automated access to esapi is forbidden
2017
mvnrepository.com/artifact/org.owasp.esapi/esapi
@@ -36,6 +33,7 @@ owaspsamm.thinkific.com/courses/samm
3633
owaspblt.org
3734

3835
# mainstream sites that are not worth checking
36+
helm.sh
3937
www.exploit-db.com/
4038
www.w3.org/
4139
www.w3schools.com/
@@ -47,6 +45,7 @@ www.oreilly.com
4745
www.cve.org
4846
www.kali.org
4947
www.iso.org
48+
www.opencre.org
5049

5150
# don't irritate the US government
5251
nvd.nist.gov/

contributing.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,10 @@ Test the web document locally before creating / updating a pull request.
145145
On Windows install python and then install packages using pip :
146146

147147
```text
148-
python3 -m pip install mkdocs-open-in-new-tab
149-
python3 -m pip install mkdocs-material
150148
python3 -m pip install mkdocs
149+
python3 -m pip install mkdocs-material
150+
python3 -m pip install mkdocs-open-in-new-tab
151+
python3 -m pip install mkdocs-redirects
151152
python3 -m pip install mkdocs-with-pdf
152153
```
153154

@@ -182,6 +183,7 @@ On Linux or MacOS install the packages using python's pip :
182183
pip install mkdocs
183184
pip install mkdocs-material
184185
pip install mkdocs-open-in-new-tab
186+
pip install mkdocs-redirects
185187
pip install mkdocs-with-pdf
186188
```
187189

docs/en/03-requirements/03-opencre.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ The OWASP Developer Guide is a community effort; if there is something that need
8888
then [submit an issue][issue0503] or [edit on GitHub][edit0503].
8989

9090
[asvs]: https://owasp.org/www-project-application-security-verification-standard/
91-
[capecocre]: https://opencre.org/search/CAPEC
92-
[csocre]: https://opencre.org/search/OWASP%20Cheat%20Sheets
93-
[cweocre]: https://opencre.org/search/CWE
91+
[capecocre]: https://www.opencre.org/search/CAPEC
92+
[csocre]: https://www.opencre.org/search/OWASP%20Cheat%20Sheets
93+
[cweocre]: https://www.opencre.org/search/CWE
9494
[cwe]: https://cwe.mitre.org/
9595
[cwe1002]: https://www.opencre.org/node/standard/CWE/sectionid/1002
9696
[edit0503]: https://github.com/OWASP/DevGuide/blob/main/docs/en/03-requirements/03-opencre.md
@@ -107,5 +107,5 @@ then [submit an issue][issue0503] or [edit on GitHub][edit0503].
107107
[sdlc]: https://owasp.org/www-project-integration-standards/writeups/owasp_in_sdlc/
108108
[spotlight28]: https://www.youtube.com/watch?v=TwNroVARmB0&list=PLUKo5k_oSrfOTl27gUmk2o-NBKvkTGw0T
109109
[top10ocre]: https://www.opencre.org/search/OWASP%20Top%2010
110-
[wstgocre]: https://opencre.org/search/WSTG
111-
[zapocre]: https://opencre.org/search/ZAP
110+
[wstgocre]: https://www.opencre.org/search/WSTG
111+
[zapocre]: https://www.opencre.org/search/ZAP

docs/en/04-design/02-web-app-checklist/01-define-security-requirements.md

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

docs/es/03-requirements/03-opencre.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ La Guía de Desarrollador OWASP es un esfuerzo comunitario; si hay algo que nece
9797
entonces [cree un issue][issue0503] o [edítelo en GitHub][edit0503].
9898

9999
[asvs]: https://owasp.org/www-project-application-security-verification-standard/
100-
[capecocre]: https://opencre.org/search/CAPEC
101-
[csocre]: https://opencre.org/search/OWASP%20Cheat%20Sheets
102-
[cweocre]: https://opencre.org/search/CWE
100+
[capecocre]: https://www.opencre.org/search/CAPEC
101+
[csocre]: https://www.opencre.org/search/OWASP%20Cheat%20Sheets
102+
[cweocre]: https://www.opencre.org/search/CWE
103103
[cwe]: https://cwe.mitre.org/
104104
[cwe1002]: https://www.opencre.org/node/standard/CWE/sectionid/1002
105105
[edit0503]: https://github.com/OWASP/DevGuide/blob/main/docs/es/03-requirements/03-opencre.md
@@ -117,5 +117,5 @@ entonces [cree un issue][issue0503] o [edítelo en GitHub][edit0503].
117117
[sdlc]: https://owasp.org/www-project-integration-standards/writeups/owasp_in_sdlc/
118118
[spotlight28]: https://www.youtube.com/watch?v=TwNroVARmB0&list=PLUKo5k_oSrfOTl27gUmk2o-NBKvkTGw0T
119119
[top10ocre]: https://www.opencre.org/search/OWASP%20Top%2010
120-
[wstgocre]: https://opencre.org/search/WSTG
121-
[zapocre]: https://opencre.org/search/ZAP
120+
[wstgocre]: https://www.opencre.org/search/WSTG
121+
[zapocre]: https://www.opencre.org/search/ZAP

mkdocs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ markdown_extensions:
4545
plugins:
4646
- open-in-new-tab
4747
- search
48+
- redirects:
49+
redirect_maps:
50+
'en/04-design/02-web-app-checklist/01-define-security-requirements.md': 'en/04-design/02-web-app-checklist/01-secure-by-default.md'
4851

4952
nav:
5053
- 'Developer Guide':

0 commit comments

Comments
 (0)