mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
docs: add webrick gem, generation info
This commit is contained in:
parent
7fa82cccf3
commit
e1f8b622ff
@ -6,4 +6,5 @@ group :test do
|
|||||||
gem "html-proofer"
|
gem "html-proofer"
|
||||||
gem "mdl"
|
gem "mdl"
|
||||||
gem "rake"
|
gem "rake"
|
||||||
|
gem "webrick"
|
||||||
end
|
end
|
||||||
|
17
docs/README.md
Normal file
17
docs/README.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Homebrew Docs
|
||||||
|
|
||||||
|
These are the source files for the [Homebrew documentation site](https://docs.brew.sh/).
|
||||||
|
|
||||||
|
A [GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/docs.yml) is run to validate each change before the site is deployed to GitHub Pages.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Open <https://docs.brew.sh> in your web browser.
|
||||||
|
|
||||||
|
To instead generate the site locally to <http://localhost:4000>, run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd `brew --repository`/docs
|
||||||
|
bundle install
|
||||||
|
bundle exec jekyll serve --watch
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user