Patch Changes
- 6142d6b: Mark as sideEffects, fix all package bundles
- Updated dependencies [6142d6b]
- @gitbook/[email protected]
git clone https://github.com/gitbookIO/gitbook.git
bun install
bun devREADME 没有说明硬件要求。
这个项目的说明还在生成中,先参考下面「最近发版」和 README。
还没有人点评。第一个说出真实体验的人最有价值。
To run a local version of this project, please follow these simple steps.
git clone https://github.com/gitbookIO/gitbook.git
Ensure you are using the project's version of node. Running nvm use will change your local version to the correct one.
Install the project's dependencies through Bun.
bun install
bun dev
http://localhost:3000/url.examples:
Any published GitBook site can be accessed through your local development instance, and any updates you make to the codebase will be reflected in your browser.
All pull-requests will be tested against both visual and performances testing to prevent regressions.
GitBook Open uses fontawesome. For self-hosting and local development, for licensing reasons, only the icons from the free version should be used.
GitBook's rendering engine is fully open source and built on top of Next.js. Head to our contributing guide to learn how to report bugs and suggest changes.
We encourage you to contribute to GitBook to help us build the best tool for documenting technical knowledge. If you're looking for some quick ways to contribute, continue reading to learn more about popular contributions.
The GitBook UI is rendered using a set of translation files found in packages/gitbook/src/intl/translations. Spotted a wrong or missing translation? Open an issue and let us know.
Encounter a bug? Open an issue with as much detail as you can. Clear reports help us fix things faster for everyone.
[!WARNING]
While it is possible to self-host this project, we do not recommend this unless you are certain this option fits your need.Looking for a specific feature in GitBook? Head to our contributing guide to suggest it.
Self-hosting this project puts the responsibility of maintaining and merging future updates on you. We cannot guarantee support, maintenance, or updates to forked and self-hosted instances of this project.
We want to make it as easy as possible for our community to collaborate and push the future of GitBook, which is why we encourage you to share your ideas with us instead of creating your own version.
This project allows you to self-host the rendering portion of your GitBook published content. Self-hosting has pros and cons.
On the pro side, you can customize the look and feel of your content, and better embed your documentation in your application.
On the con side, you become responsible for the reliability of your published site, and keeping the renderer up-to-date with the changes made to the GitBook platform.
Distributed under the GNU GPLv3 License.
If you plan to distribute the code, you must make the source code public to comply with the GNU GPLv3. To clone in a private repository, acquire a commercial license.
See LICENSE for more information.
[](https://www.gitbook.com/preview?utm_source=gitbook_readme_badge&utm_medium=organic&utm_campaign=preview_documentation&utm_content=link)
<a href="https://www.gitbook.com/preview?utm_source=gitbook_readme_badge&utm_medium=organic&utm_campaign=preview_documentation&utm_content=link">
<img
src="https://img.shields.io/static/v1?message=Documented%20on%20GitBook&logo=gitbook&logoColor=ffffff&label=%20&labelColor=5c5c5c&color=3F89A1"
/>
</a>
GitBook wouldn't be possible without these projects:
Our previous version of GitBook and it's CLI tool are now deprecated. You can still view the old repository and it's commits on this branch.