Skip to content

Commit 5003d80

Browse files
fixes #74 - dead links to G-2150 and coding-style
1 parent b8df7f6 commit 5003d80

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/1-introduction/introduction.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ There are basically two types of standards.
7474

7575
1. Non-controversial
7676

77-
These standards make sense. There is no reason not to follow them. An example of this category is [G-2150](../4-language-usage/2-variables-and-types/1-general/g-2150): Avoid comparisons with NULL value, consider using IS [NOT] NULL.
77+
These standards make sense. There is no reason not to follow them. An example of this category is [G-2150](../../4-language-usage/2-variables-and-types/1-general/g-2150): Avoid comparisons with NULL value, consider using IS [NOT] NULL.
7878

7979
2. Controversial
8080

81-
Almost every rule/guildeline falls into this category. An example of this category is [3 space indention](../3-coding-style/coding-style/#rules). - Why not 2 or 4 or even 8? Why not use tabs? You can argue in favor of all these options. In most cases it does not really matter which option you choose. Being consistent is more important. In this case it will make the code easier to read.
81+
Almost every rule/guildeline falls into this category. An example of this category is [3 space indention](../../3-coding-style/coding-style/#rules). - Why not 2 or 4 or even 8? Why not use tabs? You can argue in favor of all these options. In most cases it does not really matter which option you choose. Being consistent is more important. In this case it will make the code easier to read.
8282

8383
For very controversial rules, we have started to include the reasoning either as a footnote or directly in the text.
8484

tools/run-in-container/genpdf.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ function write_file(){
2121
FILE=$1
2222
echo "" >> ${TARGET_DIR}/docs/index.md
2323
sed -e 's/..\/image/image/g' ${DATA_DIR}/docs/${FILE} | \
24-
sed -e 's|../4-language-usage/2-variables-and-types/1-general/g-2150|#g-2150-avoid-comparisons-with-null-value-consider-using-is-not-null|g' | \
25-
sed -e 's|../3-coding-style/coding-style/#rules|#rules|g' | \
24+
sed -e 's|../../4-language-usage/2-variables-and-types/1-general/g-2150|#g-2150-avoid-comparisons-with-null-value-consider-using-is-not-null|g' | \
25+
sed -e 's|../../3-coding-style/coding-style/#rules|#rules|g' | \
2626
sed -e 's|PLSQL-and-SQL-Coding-Guidelines.pdf||g' | \
2727
sed -e 's/✘/X/g' >> ${TARGET_DIR}/docs/index.md
2828
}

0 commit comments

Comments
 (0)