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 4720ba0
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 10 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/Check-hyperlinks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[HPCC Wiki](https://hpccsystems.atlassian.net/wiki/spaces/hpcc/over) <!-- Broken Link -->
[HPCC Wiki](https://hpccsystems.atlassian.net/wiki/spaces/hpcc/overview) <!-- Working Link -->
https://github.com/HPCC-Systems/HPCCPlatform/
[Sub Heading 1](#sub-heading-1) <!-- Working Link -->
[Sub Heading 2](#sub-heading-2) <!-- Working Link -->
[Sub Heading 3](#sub-heading-3) <!-- Broken 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 https://hpccsystems.atlassian.net/wiki/spaces/hpcc/over 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?
https://hpccsystems.atlassian.net/wiki/spaces/hpcc/over
## 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/HPCCPlatform/ 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
12 changes: 9 additions & 3 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 @@ -220,11 +221,16 @@ jobs:
echo -e "Broken 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.

1 change: 1 addition & 0 deletions ecl/ecl-bundle/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ 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
Expand Down
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 4720ba0

Please sign in to comment.