I got it work.
But there are some bugs.
Changes:
had to change token: ${{ secrets.GH_PAT }}
to token: ${{ secrets.GITHUB_TOKEN }}
so I don’t have to add any secret keys to repository in .yml files inside .github/workflow
Besides when I tested some changes in code it suddenly stopped building so I had to change node version from node-version: 18.14
to node-version: 20.15
(also have this version locally)
We need to have pnpm-lock.yaml in root folder. So I had to install pnpm locally and make this file:
npm install -g pnpm
pnpm i
I have successful actions Workflow runs · anutator/anutator.github.io · GitHub
But I also have actions which I don’t need “pages build and deployment”, for example pages build and deployment · anutator/anutator.github.io@2e7bac3 · GitHub
They use hyskell (not node and pnpm) and are run dynamically. How should I get rid of this actions?
Problems of Quarts templates:
- There is no easy way to add RecentNotes to index page after main content of my index page. There is discussion on Discord, but no simple and working template.
- Adding RecentNotes to Right Panel after table of content is buggy.
- Left Menu with Folders and Subfolders. Wish MkDocks the Subfolders were named after folder name. Now if there is index.md with long title it is used as subfolder name. So I had to change title for index.md pages so they are the same as subfolder name.
- I don’t understand how to make two menus as in MkDocs — upper menu with Folders and Left Menu with there subfolders. Now all folders and subfolders are in Left Menu.
- There is no way to add notes to code blocks as it was in MkDocks (I could push + button on the line from code and open note about it).