IMPORTANT NOTICE: Devheroes public code hosting will shut down at 1st of March 2023. Due to some difficulties, we have to shut down the instance. Since codeberg.org is pretty mature and welcoming, We highly recommend you to move your code there. Please be advised that on 1st of March, your data will be removed. Thanks for your time with us, and may the source be with you.

Browse Source

Apply all the actions before building the docs

ep8
Sameer Rahmani 7 months ago
parent
commit
f3288bb30d
  1. 2
      build.el
  2. 8
      core/fg42/build/docs.el

2
build.el

@ -57,7 +57,7 @@ PARAMS: @@ -57,7 +57,7 @@ PARAMS:
(defproject FG42
project-root (nth 2 command-line-args-left)
fg42/build-docs-actions '(fg42/build-prepare-docs))
docs-actions '(fg42/build-prepare-docs))
(defun print-help (command)

8
core/fg42/build/docs.el

@ -276,10 +276,10 @@ Not pages." @@ -276,10 +276,10 @@ Not pages."
(stage1-dir (expand-file-name "site" build-dir))
(final-dir (expand-file-name "site-build" build-dir)))
(mapc (lambda (f) (apply f build-dir base-url)) fg42/build-docs-actions)
;; Create org files for the cubes
(fg42/build-prepare-docs build-dir base-url)
;; Apply all the actions
(mapcar (lambda (f)
(funcall f build-dir base-url))
fg42/build-docs-actions)
;; Copy the assets
(copy-directory (from-root "/docs/site/assets")

Loading…
Cancel
Save