Skip to content

Commit

Permalink
Fix documentation building. (#181)
Browse files Browse the repository at this point in the history
* Fix documentation building.

* Fix dc vocabulary references.

* Use correct download list and files.
  • Loading branch information
TreyE authored Mar 6, 2024
1 parent d834862 commit a52f037
Show file tree
Hide file tree
Showing 330 changed files with 44,030 additions and 20,961 deletions.
33 changes: 25 additions & 8 deletions .github/workflows/docsite.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
name: Docs
on:
workflow_dispatch:
push:
branches:
- 'me_carrier_boarding'

jobs:
docs:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- name: Get Packages for Ruby Prerequisites
run: |
sudo apt-get -y update
sudo apt-get -y install git curl libssl1.0-dev libreadline-dev zlib1g-dev autoconf bison build-essential libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev
sudo apt-get -y install git libntirpc-dev libxml2 libxml2-dev curl libreadline-dev zlib1g-dev autoconf bison build-essential libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev
- name: Install libssl1.0-dev from bionic sources
run: |
echo 'deb http://security.ubuntu.com/ubuntu bionic-security main' | sudo tee -a /etc/apt/sources.list.d/bionic-security.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
sudo apt update && apt-cache policy libssl1.0-dev
sudo apt-get -y install libssl1.0-dev
- name: Install Ruby
run: |
curl -O https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.10.tar.bz2
Expand All @@ -20,7 +29,7 @@ jobs:
uses: actions/[email protected]
with:
# Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0, lts
node-version: "12"
node-version: "14"
- name: install hugo
run: sudo snap install hugo --channel=extended
- uses: actions/setup-java@v1
Expand All @@ -30,8 +39,6 @@ jobs:
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Cache Gems
uses: actions/cache@v1
with:
Expand All @@ -54,9 +61,19 @@ jobs:
cd hugo && npm install && ./build_hugo.sh
- uses: nelonoel/[email protected]
- uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read
env:
AWS_S3_BUCKET: ${{ secrets.YARD_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.YARD_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.YARD_SECRET_ACCESS_KEY }}
AWS_S3_BUCKET: ${{ secrets.S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.IC_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.IC_AWS_SECRET_ACCESS_KEY }}
SOURCE_DIR: hugo/public
DEST_DIR: ${{ env.BRANCH_NAME }}
- name: Invalidate CloudFront
uses: chetan/invalidate-cloudfront-action@v2
env:
DISTRIBUTION: ${{ secrets.DISTRIBUTION }}
PATHS: "/*"
AWS_REGION: "us-east-1"
AWS_ACCESS_KEY_ID: ${{ secrets.IC_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.IC_AWS_SECRET_ACCESS_KEY }}
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,12 @@ config/environments/*.local.yml
*.xlsx
*.doc
*.docx
.env
.env

# Exclude hugo content
hugo/.hugo_build.lock
hugo/node_modules
hugo/public
hugo/static/doc
hugo/package-lock.json
hugo/resources/_gen
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

153 changes: 153 additions & 0 deletions hugo/_vendor/github.com/FortAwesome/Font-Awesome/scss/_animated.scss

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 43 additions & 0 deletions hugo/_vendor/github.com/FortAwesome/Font-Awesome/scss/_core.scss

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions hugo/_vendor/github.com/FortAwesome/Font-Awesome/scss/_icons.scss

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a52f037

Please sign in to comment.