-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(readme): add Write Documentation section
- Loading branch information
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ git clone [email protected]:sebkolind/ts-lib-starter.git my-project | |
cd my-project | ||
``` | ||
|
||
### Configure package | ||
### Configure Package | ||
|
||
Open the `package.json` file and change the `name`, `description` and `author` fields to something you'd like. | ||
The `name` should be unique and you should use a namespace (like how I use `@sebkolind` for my packages), | ||
|
@@ -51,3 +51,11 @@ docs:dev # development | |
docs:build # build for release | ||
docs:preview # preview release | ||
``` | ||
|
||
## Write Documentation | ||
|
||
I use [VitePress](https://vitepress.dev/) to write documentation for my packages. It's easy to use, comes | ||
with a great default theme, and you write your content in Markdown. | ||
|
||
VitePress is already installed, so to get started you can use the documentation found [here](https://vitepress.dev/guide). | ||
I use the default configuration, so it should be easy to follow the guide from start to finish. |