diff options
author | Louie S <louie@example.com> | 2023-10-18 18:08:59 -0400 |
---|---|---|
committer | Louie S <louie@example.com> | 2023-10-18 18:08:59 -0400 |
commit | b21d0424ad6bf3cec141abe7e1bb624744c12fc6 (patch) | |
tree | 82e2fd408075ba531431a183d9b3435b1699d170 /README.md | |
parent | 857c316881e6fede7dfe12daf2eecec539e0179c (diff) |
Rewrite to base off template; index more terms
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..774f7de --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# Dash Docset Template + +This is a repository providing a template to package a Dash docset from HTML source documentation. Files that need to be manually configured are listed below. Additional fine tuning is also recommended, depending on the quirks of the documentation being packaged. An example docset packaging script for GNU Make using this template can be seen [here](https://github.com/lshprung/gnu-make-dash-docset) + +### `README.template` + +This file will provide a README for the packaging script. Replace `<NAME>`, `<UPSTREAM LINK>`, and `<UPSTREAM HOST>` with appropriate values. + +### `Makefile` + +This file will build the docset. + +- `DOCSET_NAME` must be set +- `MANUAL_FILE` must be set + - If the script should download documentation from the internet, `MANUAL_URL` must also be set. If not, ensure a `.tgz` archive of the HTML documentation exists at `tmp/MANUAL.tgz` (where MANUAL is the name of the archive) + +### `src/icon.png` + +If you want to associate an icon with the docset, it should be saved to `src/icon.png`. Make sure to uncomment the corresponding line in `Makefile` to include the icon in the docset. + +### `src/index.sh` + +This is the main script that builds the docset index. This script does not require any manual modifications, but you will probably want to make additions/changes to improve the quality of your docset and accomodate any quirks. + +### `src/Info.plist` + +This file contains metadata for the docset. Replace `<!-- VALUE -->` with appropriate values. It may be useful to refer to the `Info.plist` file of an existing docset for reference. + +--- + +### Credits + +Created by [lshprung](https://github.com/lshprung), and originally based on [benzado](https://github.com/benzado)'s [gnu-make-dash-docset](https://github.com/benzado/gnu-make-dash-docset). |