makersaurus 1.0.0-a09
Install from the command line:
Learn more about npm packages
$ npm install @h2oai/makersaurus@1.0.0-a09
Install via package.json:
"@h2oai/makersaurus": "1.0.0-a09"
About this version
The documentation-folder-name
is optional. The default folder name is documentation
It will clone https://github.com/h2oai/makersaurus
repo to the documentation-folder-name
$ npx @h2oai/makersaurus <documentation-folder-name>
$ npm start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
$ npm build
This command generates static content into the build
directory and can be served using any static contents hosting service.
-
Github Page
-
Create
gh-pages
branch- Go to
https://github.com/h2oai/my-repo-name/settings/pages
or go to your repository -> Settings -> Pages - Branch ->
gh-pages
/(root)
- Go to
-
Change
baseUrl
from/
to/your-repo-name/
indocusaurus.config.ts
since the Github Pages URL ishttps://h2oai.github.io/your-repo-name/
-
npm run build
-
Copy the files and folders in the
build
directory to the gh-pages branch root(/
) folder. -
Go to
https://h2oai.github.io/your-repo-name/
-