Skip to content

Commit

Permalink
Merge pull request #122 from scicloj/more-on-config
Browse files Browse the repository at this point in the history
document some extra config options
  • Loading branch information
daslu committed Jul 22, 2024
2 parents f61fd92 + 3d585b7 commit ab17a46
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion notebooks/index.clj
Original file line number Diff line number Diff line change
Expand Up @@ -419,13 +419,21 @@
;; | Key | Purpose | Example |
;; |-----|---------|---------|
;; | `:source-path` | files to render | `["notebooks/index.clj"]` |
;; | `:title` | sets the HTML title that appears in the tab bar | `"My Title"` |
;; | `:title` | sets the HTML title that appears in the browser tab bar | `"My Title"` |
;; | `:favicon` | sets a page favicon | `"favicon.ico"` |
;; | `:show` | starts the HTML server when true (the default) | `false` |
;; | `:single-form` | render just one form | `(inc 1)` |
;; | `:format` | output quarto markdown and/or html | `[:quarto :html]` |
;; | `:quarto` | adds configuration for Quarto | `{:highlight-style :solarized}` |
;; | `:base-target-path` | the output directory | `"temp"` |
;; | `:base-source-path` | where to find `:source-path` | `"notebooks"` |
;; | `:clean-up-target-dir` | deletes files | `true` |
;; | `:remote-repo` | linking to source | `{:git-url "https://github.com/scicloj/clay" :branch "main"}` |

;; When working interactively, it is helpful to render to a temporary directory that can be git ignored and discarded.
;; For example: `:base-target-path "temp"`.
;; When publishing a static page, you may wish to target a `docs` directory by setting `:base-target-path "docs"`.
;; Creating a dev namespace is a good way to invoke a different configuration for publishing.

;; ## Kinds

Expand Down

0 comments on commit ab17a46

Please sign in to comment.