@@ -16,10 +16,6 @@ Contributors can [make suggestions][issues] and provide changes via a [pull requ
16
16
17
17
Feel free to discuss topics in the [ project wiki] [ wiki ] and create new discussions.
18
18
19
- Note that the [ draft] [ draft ] version provides the content for the released version of Developer Guide,
20
- in the [ 'release'] [ release ] directory, promoted during the automated release process.
21
- Therefore any manual changes under the release directory are likely to be over-written.
22
-
23
19
### Ground rules
24
20
25
21
* follow our [ Code of Conduct] ( code_of_conduct.md )
@@ -96,9 +92,8 @@ The pull requests have checks applied to them:
96
92
97
93
1 . Link checker for any broken links; if there is an imperative for a broken link then add it to ` .lycheeignore `
98
94
2 . Markdown lint that ensures the markdown is consistent and valid
99
- 3 . Spell checker; new words that are not recognized can be added to ` /.wordlist.txt `
95
+ 3 . Spell checker; new words that are not recognized should be added to ` /.wordlist.txt `
100
96
101
- if all these checks pass then both the PDF and ePub versions of the guide are provided as github artifacts.
102
97
103
98
### Running checks locally
104
99
@@ -108,24 +103,6 @@ To run these checks locally before pushing a commit, run these commands from the
108
103
1 . Link checker: ` lychee --max-retries 5 --exclude-path './_includes/*.html' './**/*.md' `
109
104
2 . Markdown linter: ` markdownlint-cli2 **/*.md `
110
105
3 . Spell checker: ` pyspelling --config .spellcheck-en.yaml ` (for english)
111
- 4 . commands to set up the environment for PDF and ePub export
112
-
113
- ``` text
114
- mkdir draft/temp
115
- mkdir assets/images/logos/publish
116
- export RESOURCE_PATH="draft/assets/images:draft/assets:draft:assets/images/logos:assets/images:assets/images/logos/publish"
117
- ```
118
-
119
- and the commands to create PDF and ePub outputs:
120
-
121
- ``` text
122
- tail -n +14 -q $(find draft -name "*[0-9]*.md" | sort) > draft/temp/draft.markdown
123
- sed -i "s/{: .image-right }/{height=180px}/g" draft/temp/draft.markdown
124
- pandoc -f markdown -o draft.pdf --resource-path="$RESOURCE_PATH" \
125
- -fmarkdown-implicit_figures draft/title.pdf.yaml draft/temp/draft.markdown
126
- pandoc -f markdown -o draft.epub --resource-path="$RESOURCE_PATH" \
127
- -fmarkdown-implicit_figures draft/title.yaml draft/temp/draft.markdown
128
- ```
129
106
130
107
Follow instructions to install the command line [ lychee] [ lychee-install ] and [ pandoc] [ pandoc-install ] .
131
108
@@ -174,13 +151,11 @@ OWASP DevGuide: _accessible security for developers_
174
151
175
152
[ asvs ] : https://owasp.org/www-project-application-security-verification-standard/
176
153
[ conduct ] : code_of_conduct.md
177
- [ draft ] : draft
178
154
[ issues ] : https://github.com/OWASP/DevGuide/issues/new/choose
179
155
[ lychee-install ] : https://lychee.cli.rs/
180
156
[ media ] : https://drive.google.com/drive/folders/1Ft8Ll0cgw0TIoub6aXTIJDmy0sk1RarU
181
157
[ pandoc-install ] : https://pandoc.org/installing.html
182
158
[ project ] : https://owasp.org/www-project-developer-guide/
183
- [ release ] : release
184
159
[ request ] : https://github.com/OWASP/DevGuide/pulls
185
160
[ wiki ] : https://github.com/OWASP/DevGuide/wiki
186
161
[ wstg ] : https://owasp.org/www-project-web-security-testing-guide/
0 commit comments