Improve Documentation

Contents

Help us to improve the documentation by identifying issues and suggesting changes.

Introduction

hugo-fixit/docs Public template

📄 The open-source repo for fixit.lruihao.cn

Markdown 66 23

We welcome corrections and improvements to the documentation. Please note that the documentation resides in its own repository, separate from the project repository.

For corrections and improvements to the current documentation, please submit issues and pull requests to the documentation repository.

You can also:

Prerequisites

To contribute to the documentation, you need to:

Guidelines

First, fork this repository by clicking the fork button.

Next, clone your forked repo.

1
git clone https://github.com/hugo-fixit/docs.git fixit-docs && cd fixit-docs

Then, install the dev dependencies.

1
pnpm install

And now you are ready to go!

Here are some useful commands.

1
2
3
4
5
6
# run a local debugging server with watch
pnpm server
# run a local debugging server with watch in production environment
pnpm server:production
# see Edit the theme section
pnpm server:development

Edit the theme

If you want to do docs-related theme changes, the simplest way is to have both fixit-docs and FixIt cloned as sibling directories, and then run:

1
HUGO_MODULE_WORKSPACE=hugo.work hugo server --ignoreVendorPaths "**"

Finally, create a new pull request at https://github.com/hugo-fixit/docs/pulls to submit your contribution 🎉

Buy me a coffee
Lruihao AlipayAlipay
Lruihao WeChat PayWeChat Pay

Update Available

A new version of this site is available.