-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revamp build process #56
Merged
Merged
Changes from all commits
Commits
Show all changes
92 commits
Select commit
Hold shift + click to select a range
f28b595
chore: Add submodule cc-admin-documents under src-documents
ribose-jeffreylau b87f478
chore: Add 54 cc-* repos as submodules
ribose-jeffreylau 07f00a0
chore: Add scripts to query all cc-* repos within CalConnect, and to …
ribose-jeffreylau 29994fa
chore: Add nix flake for external dependencies
ribose-jeffreylau cade59b
chore: Add .tool-versions for Ruby version control
ribose-jeffreylau aa8e520
chore: Add nix flake-direnv support
ribose-jeffreylau 2dc68ba
wip: Revamp build process
ribose-jeffreylau 4d3a0e0
wip: Transition to metanorma site generate
ribose-jeffreylau 651b259
wip: Bring back jekyll. Still needed for the scaffolding.
ribose-jeffreylau 978099f
wip: Transition to metanorma site generate
ribose-jeffreylau c29945f
chore(gitignore): Add more to ignore
ribose-jeffreylau c0fd5a8
chore: Add yq to flakes
ribose-jeffreylau f858f5d
chore(scripts): Add get-all-doc-paths-of-type
ribose-jeffreylau 2ce845a
chore: Makescripts/get-all-doc-paths-of-type filter by mn-document-cl…
ribose-jeffreylau ad0321f
chore: Add scrips/repopulate-metanorma-yaml
ribose-jeffreylau 3ef8c60
chore: Re-populate metanorma-admin.yml
ribose-jeffreylau 6cbf6d0
chore: Re-populate metanorma-standards.yml
ribose-jeffreylau 9a01a4c
fixup
ribose-jeffreylau 39680fa
chore: Update Gem dependencies
ribose-jeffreylau 212684f
chore: Add missing unitsml dependency for metanorma
ribose-jeffreylau 90345a0
wip: Clean up makefile
ribose-jeffreylau 70f202a
ci: Build the admin and standards documents
ribose-jeffreylau 779d97a
Revert "chore: Update Gem dependencies"
ribose-jeffreylau fb0ef9f
Revert "chore: Add missing unitsml dependency for metanorma"
ribose-jeffreylau ffe9caa
Revert "Revert "chore: Update Gem dependencies""
ribose-jeffreylau 92d7562
Revert "Revert "chore: Add missing unitsml dependency for metanorma""
ribose-jeffreylau 5f6900d
chore: Separate Gemfile by env var to make metanorma and jekyll coexi…
ribose-jeffreylau cf655ce
chore(jekyll): Ignore git submodules directory
ribose-jeffreylau a8894e9
fix(jekyll/sass): Make main.scss compile in Jekyll
ribose-jeffreylau c6ab1de
chore(sass): Fix deprecation warnings
ribose-jeffreylau c2202de
chore(sass): Fix aftermath of @import => @use migration
ribose-jeffreylau a55bf85
chore(sass): Fix missing calc() from deprecation migration
ribose-jeffreylau df94228
ci: Try to parallelize document build process
ribose-jeffreylau 3f357db
ci: Add docs on job splitting
ribose-jeffreylau b54a7c4
fix(sass): Work around a SASS build error
ribose-jeffreylau 09f6ecb
fix(sass): Use a simpler workaround for the SASS import error
ribose-jeffreylau 4fe4429
ci: Add missing JEKYLL=1 env var for jekyll job
ribose-jeffreylau bfa880a
chore(sass): Fix more deprecation warnings
ribose-jeffreylau b7ef1e8
chore(jekyll): Ignore scripts/ directory
ribose-jeffreylau 9753279
chore: Make metanorma site generate replace _site/{standards,administ…
ribose-jeffreylau 74217c6
chore(Makefile): Remove duplicated task
ribose-jeffreylau 3b365fa
chore(Makefile): Add build-parallel and build-all-parallel for local dev
ribose-jeffreylau 4fa3e81
ci: Reverse build dependencies to try to make Jekyll not remove metan…
ribose-jeffreylau 7255465
ci: Make jobs share artifacts
ribose-jeffreylau ca42a1c
wip(ci): Add debug logs
ribose-jeffreylau 5779ffb
ci: Fix merging of artifacts
ribose-jeffreylau c6e2255
ci: Debug ENV
ribose-jeffreylau 2c14b54
Revert "ci: Debug ENV"
ribose-jeffreylau 38e66d0
ci: Fix artifacts paths
ribose-jeffreylau d02f8dd
ci: Add metacacher
ribose-jeffreylau 65a35aa
ci(metacacher): Use Ruby hash_files script
ribose-jeffreylau 84a189a
ci(hash_files): Use STDERR for logs
ribose-jeffreylau d45e6bf
ci(metacacher): Translate {bash => ruby}
ribose-jeffreylau cbbad86
ci(metacacher): Allow override of hash_files by $HASH_FILES_BIN
ribose-jeffreylau 4948df1
ci(metacacher): Calculate hash depending on actual GitHub workflow file
ribose-jeffreylau 6437343
ci(metacacher): Make hashes more stable
ribose-jeffreylau 37ef421
ci(metacacher): Print out hash in segments
ribose-jeffreylau 6cdc413
ci(metacacher): Format
ribose-jeffreylau cd6a1e5
ci: Try to implement caching to sub-parts of site
ribose-jeffreylau 1b38c8e
ci(build_deploy): Fix checkout options
ribose-jeffreylau 77d175b
chore: Fix updated metanorma-cc link
ribose-jeffreylau f8fdacf
chore(Gemfile): Remove explicit dependency on unitsml
ribose-jeffreylau 8002c94
ci: Fix deprecated usage of set-output
ribose-jeffreylau c34e26d
chore: Remove _input/{admin.yaml,csd}
ribose-jeffreylau 6995267
chore(hash_files): Make it clear that missing files are not fatal
ribose-jeffreylau f975485
chore: Align metanorma YAML file names with doc types
ribose-jeffreylau d7a257e
chore: Make metanorma minisites use CalConnect styles
ribose-jeffreylau b33d52f
chore(minisite): Remove most references to `page` and `site`
ribose-jeffreylau 44874e5
fix(minisite): Fix styling
ribose-jeffreylau 49dc9ff
fix(minisite): Fix nav menu via javascript links
ribose-jeffreylau adcda07
fix(minisite): Fix footer links by removing dysfunctional variables
ribose-jeffreylau 59edbdd
chore(minisite): Remove unused liquid interpolations
ribose-jeffreylau 519e3c0
fix(minisite): Fix rendering of doc type
ribose-jeffreylau 79235b0
chore(minisite): Fix "public-review" and add "pending-publication"
ribose-jeffreylau da59bca
wip:docs(README): Update instructions
ribose-jeffreylau 3adad98
fix: build gha administrative documents
ronaldtse f27b5c2
fix: typo of "metanormal"
ronaldtse 0a47a96
ci/wip: Remove debug logs
ribose-jeffreylau be13b51
fix(minisite): Hide nav bar under a smaller threshold
ribose-jeffreylau 0d88456
chore(minisite): Simplify index page heading
ribose-jeffreylau d781aab
chore(minisite): Fix nav menu links
ribose-jeffreylau 8449331
chore(minisite): Fix `make repopulate-metanorma-yamls` for doc types …
ribose-jeffreylau 6e88333
chore(ci): Rename metacacher => metacachekey
ribose-jeffreylau f7f264b
chore(css): DRY up responsive screen width definitions
ribose-jeffreylau 99eba6a
chore(minisite): Add sections `reports`/`specifications`/`directives`
ribose-jeffreylau 9501e39
ci: Add build process for pending-publication and public-review
ribose-jeffreylau abebbc1
ci: Add build process for report/specification/directive
ribose-jeffreylau 59527e9
ci(metacachekey): Look into metanorma.template.{path,stylesheet} for …
ribose-jeffreylau 128dc6b
Revert "fix(minisite): Hide nav bar under a smaller threshold"
ribose-jeffreylau bce77aa
chore(index): Show links to reports/specifications/directives
ribose-jeffreylau 74c2ce1
chore(nav): Show extra links only in mobile nav
ribose-jeffreylau 8bc1d42
chore(nav): Always show hamburger toggle
ribose-jeffreylau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
use flake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the approach now to build 3 sites independently and then combining them in the directory to publish? Are we able to use the CalConnect styling for the metanorma mini-sites?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
Not at the moment. Will investigate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems this approach requires a set of
.liquid
templates (via relaton, via metanorma-cli) for the CalConnect style. If there exists none, I'll create them...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Observation:
{% include
tag as used in Jekyll is not available in Relaton, as it is specific to Jekyll: https://github.com/jekyll/jekyll/blob/master/lib/jekyll/tags/include.rbMeanwhile, Relaton uses straight
liquid
.This makes the current set of Jekyll
_includes
and_layouts
unreusable.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just in case you are not aware of the original approach, which is to build the documents, and input the Relaton Bib YAML files into Jekyll to render the site. This way Jekyll reads the Relaton files as native "data files".