Skip to content

Commit

Permalink
Merge branch 'canonical:main' into mermaid_diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
abhigyanghosh30 authored Feb 9, 2024
2 parents 6fcd4c5 + 7508b69 commit 300aee3
Show file tree
Hide file tree
Showing 91 changed files with 8,046 additions and 3,915 deletions.
58 changes: 58 additions & 0 deletions .github/workflows/robotics-docs-links.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: docs links on ubuntu.com/robotics/docs

on:
schedule:
- cron: "0 13 * * *"
workflow_dispatch:

jobs:
check-links:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install linkchecker
run: sudo pip install LinkChecker

- name: Write linkchecker config file
run: |
mkdir -p ~/.linkchecker
cat > ~/.linkchecker/linkcheckerrc <<EOF
[checking]
maxrequestspersecond=5
[filtering]
nofollow=!https:\/\/ubuntu.com\/robotics\/docs
checkextern=1
ignore=
https://res\.cloudinary\.com
/q_auto
c_fill
/fl_sanitize
e_sharpen
/w_
/h_
[output]
status=0
warnings=0
EOF
- name: Run linkchecker
continue-on-error: true
run: |
linkchecker https://ubuntu.com/robotics/docs > ~/.linkchecker/roboticsdocs-out.txt
- name: Parse linkchecker output
run: |
scripts/parseDocsLinkcheckerOutput roboticsdocs-out.txt
- name: Send message on failure
if: failure()
run: |
curl -X POST \
-F "workflow=${GITHUB_WORKFLOW}" \
-F "repo_name=${GITHUB_REPOSITORY}" \
-F "action_id=${GITHUB_RUN_ID}" \
${{ secrets.BOT_URL }}?room=docs
4 changes: 2 additions & 2 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ let entries = {
"side-navigation": "./static/js/src/side-navigation.js",
"image-download": "./static/js/src/image-download.js",
main: "./static/js/src/main.js",
"release-chart": "./static/js/src/release-chart.js",
"release-chart-manager": "./static/js/src/release-chart-manager.js",
"developer-chart": "./static/js/src/developer-chart.js",
tabotronic: "./static/js/src/tabotronic.js",
appliance: "./static/js/src/appliance.js",
costCalculator: "./static/js/src/openstack/react/app.jsx",
Expand All @@ -26,7 +27,6 @@ let entries = {
"certified-search-results": "./static/js/src/certified-search-results.js",
openstackDeploymentChart: "./static/js/src/openstack-deployment-chart.js",
blender: "./static/js/src/advantage/subscribe/blender/app.tsx",
tabbedContent: "./static/js/src/tabbed-content.js",
utmInheritance: "./static/js/src/utm-inheritance.js",
"kernel-form": "./static/js/src/kernel-form.js",
"random-partner-logos": "./static/js/src/random-partner-logos.js",
Expand Down
Loading

0 comments on commit 300aee3

Please sign in to comment.