Skip to content

Commit

Permalink
Updated documentation process
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed Feb 21, 2024
1 parent f172e0c commit ce9f372
Show file tree
Hide file tree
Showing 80 changed files with 626 additions and 2,673 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:

- run: nix build .#docs

- run: nix run .#hugo
- run: nix run .#pandoc

- name: Store hugo
- name: Store pandoc
uses: ./.github/actions/upload-artifact
with:
name: hugo
path: ./hugo/public
name: pandoc
path: ./out

deploy-docs:
needs: generate-doc-options
Expand All @@ -57,15 +57,15 @@ jobs:
- name: Get nix build output
uses: ./.github/actions/download-artifact
with:
name: hugo
name: pandoc

- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload GH pages artifact
uses: actions/upload-pages-artifact@v1
with:
path: './hugo/public'
path: './out'

- name: Deploy to GitHub Pages
id: deployment
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
result
hugo/public
hugo/content/index.md
out
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

packages = {
docs = pkgs.callPackage ./mkDocs.nix {inherit inputs;};
hugo = pkgs.callPackage ./mkHugo.nix {inherit inputs;};
pandoc = pkgs.callPackage ./mkPandoc.nix {inherit inputs;};
};

devshells.default = {
Expand Down
225 changes: 225 additions & 0 deletions gruvbox.theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
{
"text-color": "#282828",
"background-color": "#fbf1c7",
"line-number-color": "#3c3836",
"line-number-background-color": "#fbf1c7",
"text-styles": {
"Alert": {
"text-color": "#9d0006",
"background-color": null,
"bold": true,
"italic": false,
"underline": false
},
"Annotation": {
"text-color": "#b16286",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"Attribute": {
"text-color": "#076678",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"BaseN": {
"text-color": "#b57614",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"BuiltIn": {
"text-color": "#8f3f71",
"background-color": null,
"bold": true,
"italic": false,
"underline": false
},
"Char": {
"text-color": "#98971a",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"Comment": {
"text-color": "#7c6f64",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"CommentVar": {
"text-color": "#7c6f64",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"Constant": {
"text-color": "#cc241d",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"ControlFlow": {
"text-color": "#282828",
"background-color": null,
"bold": true,
"italic": false,
"underline": false
},
"DataType": {
"text-color": "#458588",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"DecVal": {
"text-color": "#458588",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"Documentation": {
"text-color": "#98971a",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"Error": {
"text-color": "#9d0006",
"background-color": null,
"bold": false,
"italic": false,
"underline": true
},
"Extension": {
"text-color": "#458588",
"background-color": null,
"bold": true,
"italic": false,
"underline": false
},
"Float": {
"text-color": "#b57614",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"Function": {
"text-color": "#b16286",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"Import": {
"text-color": "#d65d0e",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"Information": {
"text-color": "#d65d0e",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"Keyword": {
"text-color": "#282828",
"background-color": null,
"bold": true,
"italic": false,
"underline": false
},
"Normal": {
"text-color": "#282828",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"Operator": {
"text-color": "#282828",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"Other": {
"text-color": "#79740e",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"Preprocessor": {
"text-color": "#79740e",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"RegionMarker": {
"text-color": "#076678",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"SpecialChar": {
"text-color": "#79740e",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"SpecialString": {
"text-color": "#79740e",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"String": {
"text-color": "#98971a",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"Variable": {
"text-color": "#076678",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"VerbatimString": {
"text-color": "#9d0006",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
},
"Warning": {
"text-color": "#b57614",
"background-color": null,
"bold": false,
"italic": false,
"underline": false
}
}
}
Empty file removed hugo/.hugo_build.lock
Empty file.
6 changes: 0 additions & 6 deletions hugo/archetypes/default.md

This file was deleted.

4 changes: 0 additions & 4 deletions hugo/config.toml

This file was deleted.

6 changes: 0 additions & 6 deletions hugo/content/header.md

This file was deleted.

Loading

0 comments on commit ce9f372

Please sign in to comment.