File tree 1 file changed +27
-3
lines changed
1 file changed +27
-3
lines changed Original file line number Diff line number Diff line change 1
- #
1
+ # Internal Docs Viewer
2
2
3
- Running this script will
3
+ This package provides a script for quickly setting up the various repositories
4
+ needed to preview the API docs defined in the source-code of this project and
5
+ linking them together properly.
6
+
7
+ The scripts can be run from the project root or from within this directory.
8
+
9
+ ### ` bun preview-api-docs `
10
+
11
+ This will update the various repositories to their latest commit (or clone the
12
+ repo if needed) in the ` docs-viewer/projects ` directory. This directory is
13
+ git-ignored.
14
+
15
+ It will then generate necessary symlinks, run the docs build script, and start
16
+ the api-docs viewer app.
17
+
18
+ Once the app is running, changes to the docs do not automatically rebuild.
19
+ The command ` rebuild-api-docs ` will update the docs data for the running app.
20
+
21
+ ### ` bun rebuild-api-docs `
22
+
23
+ This will rebuild the api-docs data consumed by the api-docs viewer application.
24
+
25
+ This must be run manually after any changes to api documentation for them to be
26
+ available to a running instance of the api docs application. If the app is not
27
+ currently running, this command is unneeded as ` preview-api-docs ` will also do
28
+ an initial build of the docs.
4
29
5
- - install the appropriate packages as siblings to
You can’t perform that action at this time.
0 commit comments