-
Notifications
You must be signed in to change notification settings - Fork 8
TianoCore Documents Required Tools
Michael Kinney edited this page Jul 7, 2017
·
11 revisions
- GIT
- Calibre
- NPM
- gitbook-cli
- PDF Viewer
-
Configure proxies
-
Install GIT
sudo dnf -y install git -
Install latest version of calibre-ebook
- Download from https://calibre-ebook.com/download_linux
- Run following command with
/path/to/downloaded/calibre-tarball.txzreplaced with path to downloaded file.sudo mkdir -p /opt/calibre && sudo rm -rf /opt/calibre/* && sudo tar xvf /path/to/downloaded/calibre-tarball.txz -C /opt/calibre && sudo /opt/calibre/calibre_postinstall
-
Install and Initialize NPM
sudo dnf -y install npm cd ~ npm init -y -
Install gitbook-cli
npm install gitbook-cli
-
Install Pandoc
sudo dnf -y install pandoc -
Install gitbook-convert
npm install gitbook-convert -
Install GitBook Editor from https://www.gitbook.com/editor/linux
-
Run the following commands to clone the EDK II Template Specification to a local directory and build this specification to MOBI, EPUB, PDF, and HTML formats.
cd ~ mkdir tianocore-docs cd tianocore-docs git clone https://github.com/tianocore-docs/edk2-TemplateSpecification.git cd edk2-TemplateSpecification gitbook install gitbook mobi gitbook epub gitbook pdf gitbook serve -
Use a web browser to view HTML version at http://localhost:4000
-
Use a web browser open the following files in the path
~/tianocore-docs/edk2-TemplateSpecificationbook.mobibook.epubbook.pdf