Skip to content

Commit

Permalink
🎨 Reorganize the components and theme creation API (#45)
Browse files Browse the repository at this point in the history
* 🚧 Start work on the reorg

* ✨ Implement `make-glossary`

* ✨ Implement `make-pro-con`

* πŸ’˜ Break ci

* πŸ’š Fix ci

* πŸ’š Fix ci

* πŸ’˜ Break ci

* πŸ’š Fix ci

* πŸ‘· Ci will now cancel old workflows

* πŸ‘· Docs ci will now cancel past runs

* 🚧 Started work on theme constructors and error handling

* ✨ Wrote a constructor for cover

* πŸ’š Workflows should no longer cancel each other

* ✨ Make constructors for rules and admonitions

* 🎨 Finish porting linear and radial to the new constructors

* ⬆️ Update typstfmt

* πŸ“ Recompile glossary

* 🎨 Finally the formatting in this file makes sense

* 🎨 Even more formatting

* 🎨 Just went ahead and formatted everything

* ✨ Implement decision matrix constructor

* ✨ Rewrite the linear decision matrix

* ✨ Port the radial decision matrix to the new constructor

* πŸ› Fixed breaking API change

* 🎨 Various small formatting fixes

* πŸ“ Render gallery

* ✨ Implement plot and pie chart constructors

* πŸ“ Add some extra comments to explain what the decision matrix constructor does

* ✨ Added missing entry types to the linear theme

* πŸ“ Started documentation update

* πŸ“ Wrote the docs for the component constructors

* πŸ“ Correctly outlined the documentation

* πŸ“ Updated import utils comments

* ✏️ Fixed typos

* πŸ“ Update docs/src/developer_documentation/custom_themes.md

Co-authored-by: RubyflameWarrior <[email protected]>

* πŸ“ Update docs/src/developer_documentation/custom_themes.md

Co-authored-by: RubyflameWarrior <[email protected]>

* πŸ“ Update docs/src/developer_documentation/custom_themes.md

Co-authored-by: RubyflameWarrior <[email protected]>

* πŸ“ Replace a TODO comment with something clearer

* πŸ“ Update utils/components.typ

Co-authored-by: RubyflameWarrior <[email protected]>

* πŸ“ Wrote the documentation for the theme constructors

* πŸ“ Update utils/theme.typ

Co-authored-by: RubyflameWarrior <[email protected]>

* πŸ“ Update utils/theme.typ

Co-authored-by: RubyflameWarrior <[email protected]>

* πŸ“ Update themes/radial/components/gantt-chart.typ

Co-authored-by: RubyflameWarrior <[email protected]>

* πŸ“ Update docs/src/developer_documentation/custom_themes.md

Co-authored-by: RubyflameWarrior <[email protected]>

* πŸ“ Update themes/themes.typ

Co-authored-by: RubyflameWarrior <[email protected]>

* πŸ“ Added credit for the linear theme

* ✨ Added admonition categories for the the edp steps

* πŸ› Fixed inconsistent spacing in the default TOC

* πŸ› The radial theme actually uses the constructors now

* ✨ Add a participants field to the entry creation function

* πŸ’š Fix CI

---------

Co-authored-by: BestUsernameEver <[email protected]>
Co-authored-by: RubyflameWarrior <[email protected]>
  • Loading branch information
3 people authored Jul 13, 2024
1 parent cde1198 commit aca7b50
Show file tree
Hide file tree
Showing 45 changed files with 1,952 additions and 1,555 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Tests

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches: main
Expand All @@ -11,8 +15,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install just from crates.io
uses: baptiste0928/cargo-install@v2
with:
Expand All @@ -22,6 +24,7 @@ jobs:
id: setup-typst
- name: Run checks
run: |
just install
just package local
just package preview
just gallery
# TODO: run unit tests here
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: GH Pages Deploy

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches: [stable]
Expand Down
Loading

0 comments on commit aca7b50

Please sign in to comment.