Skip to content

Commit

Permalink
Test hyperlinks testing implementation
Browse files Browse the repository at this point in the history
Signed-off-by: Charan-Sharan <[email protected]>
  • Loading branch information
Charan-Sharan committed Jul 10, 2024
1 parent 573f392 commit dbf8bc3
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 61 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/Check-hyperlinks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[HPCC Wiki](https://hpccsystems.atlassian.net/wiki/spaces/hpcc/overview) <!-- Broken Link -->
[HPCC Wiki](https://hpccsystems.atlassian.net/wiki/spaces/hpcc/overview) <!-- Working Link -->
[Sub Heading 1](#sub-heading-1) <!-- Working Link -->
[Sub Heading 2](#sub-heading-2) <!-- Working Link -->

## Sub Heading 1
Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic maiores vero deleniti, quas dolorum vel.
Facere voluptas vero ab, quasi repellat quam consequatur totam iste, perspiciatis, dolorem sunt nostrum placeat!
Provident maxime quam cupiditate blanditiis repellat, quas id fugiat illo deserunt laboriosam dolorum. Hic, voluptatum.
Beatae perspiciatis cum repudiandae reprehenderit debitis alias et. Tempora sed, ab fuga nesciunt quaerat voluptatibus!
Nisi rem asperiores voluptas assumenda, veritatis iure porro necessitatibus est. Atque possimus incidunt est accusantium.
Ratione a odio blanditiis similique eveniet eligendi illum consectetur eius. Impedit fugiat quae eius libero.
Quidem ut ea suscipit nesciunt, eligendi quam saepe dolore id repellendus iure eius, dicta voluptatum!
Odit reiciendis esse hic tempore? Minus quod enim, deserunt sapiente illo commodi assumenda nobis! Blanditiis.
Eius officia odit nisi, distinctio eos quo voluptatem, earum illum quibusdam voluptates dolorem. Perspiciatis, quis?
Aperiam quam vero aut odit, sunt quasi modi minima. Ex nostrum debitis quod voluptatum assumenda?
## Sub Heading 2

Lorem, ipsum dolor sit amet consectetur adipisicing elit. Est aspernatur quas sint modi voluptas voluptates.
Dolorum eum dignissimos architecto. Ullam, accusamus saepe deleniti distinctio dicta nostrum. Ex labore fugiat ipsam?
Quia dicta assumenda ratione autem pariatur magnam, placeat neque quos. Sequi necessitatibus ex odio accusantium?
Sed quibusdam consectetur, dolore, molestias magni illum delectus adipisci, iure ad rem sapiente officia vel!
Suscipit numquam perspiciatis laboriosam? Nobis nulla https://github.com/HPCC-Systems/HPCC-Platform/ minus ad, provident optio labore. Cumque tempora deserunt delectus.
Necessitatibus optio totam rerum, molestias veritatis, quia mollitia deserunt sed possimus, nulla aliquam tempora in!
Qui consectetur, officiis nostrum atque eaque repudiandae dolorum minima ab ullam. Placeat aliquid commodi corrupti.
Consequuntur, ad provident. Rem, iste mollitia https://github.com/HPCC-Systems/HPCC-Platform/ inventore corporis omnis voluptates et non repellat debitis dolorum.
Voluptatum deserunt nihil ullam sint veniam cumque, dignissimos explicabo maxime quod libero ex labore sequi.
Explicabo atque maxime amet repellat voluptate velit, officia consequuntur odit ea iusto placeat beatae voluptatibus!

4 changes: 4 additions & 0 deletions .github/workflows/build-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ on:
- "!candidate-7.2.*"
- "!candidate-7.0.*"
- "!candidate-6.*"
paths:
- "!*.md"
- "!*.rst"
- "!*.xml"

schedule:
- cron: "0 0 * * *"
Expand Down
23 changes: 17 additions & 6 deletions .github/workflows/test-hyperlinks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
- name: List links from Documentation files
run: |
IFS=$'\n'
touch missingFiles.txt
for FILE in $( cat xmlFilesList.txt )
do
#check if the file is missing
Expand Down Expand Up @@ -78,7 +79,7 @@ jobs:
echo $FILE >> missingFiles.txt
continue
fi
grep -onHE -e "\]\([^\)]+" -e "\`\`\`[^\`]*" -e "http://[^\ \;\"\'\<\>\]\[\,\`\)]+" -e "https://[^\ \;\"\'\<\>\]\[\,\`\)]+" ${FILE} | sed 's/](//' > links.tmp
grep -onHE -e "\]\([^\)]+" -e "\`\`\`[^\`]*" -e "http://[^\ \;\"\'\<\>\,\`\)]+" -e "https://[^\ \;\"\'\<\>\,\`\)]+" ${FILE} | sed 's/](//' > links.tmp
FLAG=0
for LINE in $( cat links.tmp )
do
Expand Down Expand Up @@ -215,16 +216,26 @@ jobs:
echo -e "Broken links: \n" > error-report.log
cat error-reportTmp.log >> error-report.log
else
echo -e "Missing Files: \n" > error-report.log
cat missingFiles.txt >> error-report.log
echo -e "Broken links: \n" >> error-report.log
echo -e "Missing Files:" > error-report.log
FILE_COUNT=1
for FILE in $( cat missingFiles.txt )
do
echo -e "\t${FILE_COUNT}. ${FILE}" >> error-report.log
FILE_COUNT=$(( FILE_COUNT + 1 ))
done
echo -e "\nBroken links: \n" >> error-report.log
cat error-reportTmp.log >> error-report.log
fi
if [[ ${{ github.event_name }} == "pull_request" || ${{ inputs.Debug-Mode }} == false ]]; then
if [ -z ${{ inputs.Debug-Mode }} ]; then
DEBUG_MODE=false
else
DEBUG_MODE=${{ inputs.Debug-Mode }}
fi
if [[ ${{ github.event_name }} == "pull_request" || $DEBUG_MODE == false ]]; then
rm -rf *FilesList.txt \
checkedLinksCache.txt \
*Links.txt \
linksList.txt \
linksList.txt
fi
- name: Upload logs
Expand Down
7 changes: 0 additions & 7 deletions docs/README.rst

This file was deleted.

3 changes: 2 additions & 1 deletion ecl/ecl-bundle/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ Information about the internals of ecl-bundle is found in the `ecl-bundle Source
Information about how to write an ecl bundle is found in the `ECL Bundle Writer's Guide`_.

Information about how to use ecl-bundle can be found using the command "ecl bundle help",

or in the printed documentation.

.. _ecl-bundle Source Documentation: DOCUMENTATION.rst
.. _ecl-bundle Source Documentation: DOCUMENTATION.md
.. _ECL Bundle Writer's Guide: BUNDLES.rst
7 changes: 0 additions & 7 deletions ecl/hql/README.rst

This file was deleted.

40 changes: 0 additions & 40 deletions ecl/sourcedoc.xml

This file was deleted.

1 change: 1 addition & 0 deletions system/masking/plugins/datamasker/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,4 @@ Returns a (possibly empty) collection of profiles supporting `maskValue` and `ma
- Value type mask styles are implemented using [CPartialMaskStyle](#cpartialmaskstyle).
- Value type and profile rules are implemented using [CSerialTokenRule](#cserialtokenrule).
- Profile contexts are implemented using [CContext](#ccontext).

0 comments on commit dbf8bc3

Please sign in to comment.