提交 838610e7 编写于 作者: G GitLab 提交者: 李海枫

Initialized from 'Netlify/GitBook' project template

Template repository: https://codechina.csdn.net/mirrors/pages/nfgitbook
Commit SHA: e4f01c4d91cb599a23316b551afc5c18f08b922a
上级
# Node rules:
## Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
## Dependency directory
## Commenting this out is preferred by some people, see
## https://docs.npmjs.com/misc/faq#should-i-check-my-node_modules-folder-into-git
node_modules/
# Book build output
_book/
# eBook build output
*.epub
*.mobi
*.pdf
\ No newline at end of file
Example [GitBook] website using GitLab with [Netlify](https://www.netlify.com/).
## Netlify Configuration
In order to build this site with Netlify, simply log in or register at
https://app.netlify.com/, then select "New site from Git" from the top
right. Select GitLab, authenticate if needed, and then select this
project from the list.
You will need to set the build command to `gitbook build` and set the publish
directory to `_book`. Netlify will handle the rest.
In the meantime, you can take advantage of all the great GitLab features
like merge requests, issue tracking, epics, and everything else GitLab has
to offer.
## Building locally
To work locally with this project, you'll have to follow the steps below:
1. Fork, clone or download this project
1. [Install][] GitBook `npm install gitbook-cli -g`
1. Fetch GitBook's latest stable version `gitbook fetch latest`
1. Preview your project: `gitbook serve`
1. Add content
1. Generate the website: `gitbook build` (optional)
1. Push your changes to the master branch: `git push`
Read more at GitBook's [documentation].
## Did you fork this project?
If you forked this project for your own use, please go to your project's
**Settings** and remove the forking relationship, which won't be necessary
unless you want to contribute back to the upstream project.
## Troubleshooting
1. CSS is missing! That means two things:
Either that you have wrongly set up the CSS URL in your templates, or
your static generator has a configuration option that needs to be explicitly
set in order to serve static assets under a relative URL.
----
Forked from @virtuacreative
[GitBook]: https://www.gitbook.com/
[host the book]: https://gitlab.com/pages/gitbook/tree/pages
[install]: http://toolchain.gitbook.com/setup.html
[documentation]: http://toolchain.gitbook.com
# Summary
* [Introduction](README.md)
{
"name": "nfgitbook",
"version": "1.0.0",
"devDependencies": {
"gitbook-cli": "^2.3.2"
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册