Skip to content

Commit

Permalink
Drop obsolete path prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
mk committed Apr 14, 2022
1 parent b3d9ed1 commit d28d258
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/nextjournal/clerk.clj
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@
- `:paths` a vector of relative paths to notebooks to include in the build
- `:bundle?` builds a single page app versus a folder with an html page for each notebook (defaults to `true`)
- `:path-prefix` a prefix to urls
- `:out-path` a relative path to a folder to contain the static pages (defaults to `\"public/build\"`)
- `:git/sha`, `:git/url` when both present, each page displays a link to `(str url \"blob\" sha path-to-notebook)`"
[opts docs]
Expand Down Expand Up @@ -488,8 +487,8 @@
(report-fn {:stage :finished :state state :duration duration :total-duration (elapsed-ms start)})))

#_(build-static-app! {:paths (take 5 clerk-docs)})
#_(build-static-app! {:paths ["index.clj" "notebooks/rule_30.clj" "notebooks/markdown.md"] :bundle? true})
#_(build-static-app! {:paths ["index.clj" "notebooks/rule_30.clj" "notebooks/markdown.md"] :bundle? false :path-prefix "build/"})
#_(build-static-app! {:paths ["index.clj" "notebooks/rule_30.clj" "notebooks/viewer_api.md"] :bundle? true})
#_(build-static-app! {:paths ["index.clj" "notebooks/rule_30.clj" "notebooks/viewer_api.md"] :bundle? false})
#_(build-static-app! {:paths ["notebooks/viewers/**"]})

;; And, as is the culture of our people, a commend block containing
Expand Down

0 comments on commit d28d258

Please sign in to comment.