Comments (7)
@mi-hol I've updated description, hopefully is more clear now
from wiki.
Thanks, it's done now
from wiki.
@karniv00l is there any thing I could help with?
I did a proof-of-concept for RE see rusefi/rusefi_documentation#1
from wiki.
- as a part of the build action
never edited GH workflows before but it seems that I need to add the following "-run" actions to "steps:" section in build.js.yml
- install any new dependencies
- at end of current yaml "run: npm run pdf"
- if no error happened, copy pdf output file to a permanent location tbd
Would that be all or did I miss something?
from wiki.
It's a little bit more complicated since I believe we need to run npm run serve
in a service
from wiki.
https://medium.com/geekculture/serverless-e-book-web-book-using-docusaurus-v2-github-pages-actions-and-pdf-tools-4fef54847b85 describes a more simple solution (having some caveats) copied below.
I've yet to test it and would create a PR if it works.
Would that be good enough as a first solution?
`name: 'continous deployment'
on:
push:
branches:
- master
jobs:
generate_webbook:
# ...
generate_ebook:
name: 'generate ebook'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install prince
run: |
curl https://www.princexml.com/download/prince-14.2-linux-generic-x86_64.tar.gz -O
tar zxf prince-14.2-linux-generic-x86_64.tar.gz
cd prince-14.2-linux-generic-x86_64
yes "" | sudo ./install.sh
- name: build pdf
run: npx docusaurus-prince-pdf -u https://my-book.novalagung.com/intro
- name: publish ebook
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.PAT }}
publish_dir: ./pdf`
from wiki.
Great to see another critical issue for V1 release to be resolved.
BTW: The caveat I saw is the Prince version specific download file name.
Are you getting updates or have awareness of new releases?
from wiki.
Related Issues (20)
- wiki gaps for release or something HOT 1
- PDF link in the top bar HOT 1
- setLuaGauge
- verify bench test buttons work in FOME-fw HOT 2
- Proposal: control ordering of topics in wiki sidebar via number prefixes of md file and folder names HOT 11
- GH workflows in forked wiki repo can not succeed by design HOT 6
- Proposal RfC: improve readability of wiki (online and pdf) by using "light" background on images HOT 6
- Follow BDA guidelines for readability HOT 1
- Disable Markdown linter HOT 5
- Document how to use GitHub Codespaces HOT 1
- WYSIWYG visual editor research HOT 1
- unexplained difference of how tables are displayed in GH versus Docusaurus created webpage
- update 13-How-to-edit-wiki.md with first learnings from #142 HOT 11
- DBC view
- Document FOME Console features HOT 1
- Marketing .zip file links are broken HOT 2
- Document FOME Simulator
- SENT sensor list
- R53 Mini Cooper Tachometer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wiki.