Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/connorgray/notebookwebsitetools
A static site generator based on Wolfram Notebooks
https://github.com/connorgray/notebookwebsitetools
static-site-generator wolfram wolfram-notebooks
Last synced: 26 days ago
JSON representation
A static site generator based on Wolfram Notebooks
- Host: GitHub
- URL: https://github.com/connorgray/notebookwebsitetools
- Owner: ConnorGray
- Created: 2022-11-06T06:57:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-10T21:38:47.000Z (5 months ago)
- Last Synced: 2024-12-01T09:09:12.607Z (about 1 month ago)
- Topics: static-site-generator, wolfram, wolfram-notebooks
- Language: Mathematica
- Homepage:
- Size: 3.79 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NotebookWebsiteTools
A static site generator based on Wolfram Notebooks.
## Examples
[feature-overview.nb](./Examples/Content/feature-overview.nb) ([**image**](./docs/images/feature-overview.nb.png.md))
is a Wolfram Notebook that contains an overview of features supported by NotebookWebsiteTools.[**feature-overview.html**](https://www.wolframcloud.com/obj/connorg/Examples/NotebookWebsiteTools/feature-overview.html)
is the HTML rendered version of feature-overview.nb.### Building the Examples website
The [./Examples](./Examples/) subdirectory of this repository is a website in the
layout expected by `NotebookWebsiteBuild[..]`.To build the Examples website, first load NotebookWebsiteTools:
```wolfram
Needs["ConnorGray`NotebookWebsiteTools`"]
```Then use `NotebookWebsiteBuild` to build:
```wolfram
NotebookWebsiteBuild["/path/to/NotebookWebsiteTools/Examples"]
```The built website assets will be placed in the `Examples/build` directory.
### Command-Line Interface
A command-line interface to NotebookWebsiteTools functionality is available via
the unofficial [`wolfram-cli`](https://github.com/ConnorGray/wolfram-cli) tool.If `wolfram-cli` is available, and the `NotebookWebsiteTools` paclet is
installed, then a notebook website can be built using:```shell
$ wolfram-cli notebook-website build [WEBSITE_DIR]
```Include documents with the `Draft` status flag:
```shell
$ wolfram-cli notebook-website build [WEBSITE_DIR] --drafts
```## Contributing
See [**Development.md**](./docs/Development.md) for instructions on how to
develop NotebookWebsiteTools.## Credits
* [rust-logo-blk.svg](./paclets/NotebookWebsiteTools/Assets/web_assets/rust-logo-blk.svg)
and [rust-logo-32x32-blk.png](./paclets/NotebookWebsiteTools/Assets/Icons/rust-logo-32x32-blk.png)
were sourced unchanged from the rust-lang/rust-artwork GitHub repository, and are licensed
under the [Creative Commons Attribution license (CC-BY)](https://creativecommons.org/licenses/by/4.0/).