Skip to content

Commit

Permalink
feat: update init command
Browse files Browse the repository at this point in the history
  • Loading branch information
yufeih committed Nov 3, 2023
1 parent 72ac760 commit 1d60c49
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 540 deletions.
8 changes: 4 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ dotnet tool update -g docfx
To create a new docset, run:

```bash
docfx init --quiet
docfx init
```

This command creates a new docset under the `docfx_project` directory. To build the docset, run:
This command walks you through creating a new docfx project under the current working directory. To build the docset, run:

```bash
docfx docfx_project/docfx.json --serve
docfx docfx.json --serve
```

Now you can preview the website on <http://localhost:8080>.

To preview your local changes, save changes then run this command in a new terminal to rebuild the website:

```bash
docfx docfx_project/docfx.json
docfx docfx.json
```

## Publish to GitHub Pages
Expand Down
Loading

0 comments on commit 1d60c49

Please sign in to comment.