Skip to content

Commit

Permalink
Rename doc -> docs
Browse files Browse the repository at this point in the history
A matter of preference.
  • Loading branch information
PsychoLlama committed Jan 11, 2025
1 parent 0a22d73 commit 6a3dcb3
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- name: Build Documentation
run: nix build --print-build-logs '.#docs-website' --out-link docs
run: nix build --print-build-logs '.#docs-website' --out-link website
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3 # or specific "vX.X.X" version tag for this action
with:
path: docs/
path: website/

deploy:
runs-on: ubuntu-latest
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 6 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,13 @@
buildInputs = [ pkgs.mdbook ];
}
''
cp --no-preserve=mode --recursive "${self.outPath}/doc" doc/
cp "${nixos-configs-doc}/options.md" doc/src/nixos.md
cp "${editor-configs-doc}/options.md" doc/src/editor.md
cp --no-preserve=mode --recursive "${self.outPath}/docs" docs/
cp "${nixos-configs-doc}/options.md" docs/src/nixos.md
cp "${editor-configs-doc}/options.md" docs/src/editor.md
mdbook build doc --dest-dir "$out"
ls -lAh docs
mdbook build docs/ --dest-dir "$out"
'';

editor = lib.dotfiles.buildEditor {
Expand Down

0 comments on commit 6a3dcb3

Please sign in to comment.