syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.64k stars 4.89k forks source link

Generating plantuml layer documentation fails #9537

Closed smile13241324 closed 6 years ago

smile13241324 commented 7 years ago

Description :octocat:

When I try to generate the documents using spacemacs/publish-doc, the documentation for the plantuml layer fails.

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: The document generation fails.

Expected behaviour: :heart: :smile: All documents can be generated without issues.

System Info :computer:

Backtrace :paw_prints:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  org-babel-exp-src-block()
  org-babel-exp-process-buffer()
  (progn (org-babel-exp-process-buffer) (org-set-regexps-and-options) (org-update-radio-target-regexp))
  (if org-export-babel-evaluate (progn (org-babel-exp-process-buffer) (org-set-regexps-and-options) (org-update-radio-target-regexp)))
  (progn (run-hook-with-args (quote org-export-before-processing-hook) (progn nil (or (progn nil (and (vectorp backend) (>= (length backend) 8) (memq (aref backend 0) cl-struct-org-export-backend-tags) t)) (signal (quote wrong-type-argument) (list (quote org-export-backend) backend))) (aref backend 1))) (org-export-expand-include-keyword) (org-export--delete-comment-trees) (org-macro-initialize-templates) (org-macro-replace-all org-macro-templates nil parsed-keywords) (org-set-regexps-and-options) (org-update-radio-target-regexp) (if org-export-babel-evaluate (progn (org-babel-exp-process-buffer) (org-set-regexps-and-options) (org-update-radio-target-regexp))) (goto-char (point-min)) (save-excursion (run-hook-with-args (quote org-export-before-parsing-hook) (progn nil (or (progn nil (and (vectorp backend) (>= ... 8) (memq ... cl-struct-org-export-backend-tags) t)) (signal (quote wrong-type-argument) (list (quote org-export-backend) backend))) (aref backend 1)))) (org-set-regexps-and-options) (org-update-radio-target-regexp) (setq info (org-combine-plists info (org-export-get-environment backend subtreep ext-plist))) (let ((--dolist-tail-- (append (org-export-get-all-options backend) org-export-options-alist))) (while --dolist-tail-- (let ((entry (car --dolist-tail--))) (if (consp entry) (let* ((x ...) (x ...)) (if (consp x) (let* ... ...) (let nil nil))) (let nil nil)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (setq info (org-export-install-filters info)) (let ((backend-name (progn nil (or (progn nil (and ... ... ... t)) (signal (quote wrong-type-argument) (list ... backend))) (aref backend 1)))) (let ((--dolist-tail-- (plist-get info :filter-options))) (while --dolist-tail-- (let ((filter (car --dolist-tail--))) (let ((result ...)) (if result (progn ...))) (setq --dolist-tail-- (cdr --dolist-tail--)))))) (org-macro-replace-all (list (cons "author" (org-element-interpret-data (plist-get info :author))) (cons "date" (let* ((date (plist-get info :date)) (value (or ... ""))) (if (and (consp date) (not ...) (eq ... ...)) (format "(eval (if (org-string-nw-p \"$1\") %s %S))" (format "(org-timestamp-format '%S \"$1\")" ...) value) value))) (cons "email" (org-element-interpret-data (plist-get info :email))) (cons "title" (org-element-interpret-data (plist-get info :title))) (cons "results" "$1")) (quote finalize) parsed-keywords) (setq tree (org-element-parse-buffer nil visible-only)) (org-export--prune-tree tree info) (org-export--remove-uninterpreted-data tree info) (setq tree (org-export-filter-apply-functions (plist-get info :filter-parse-tree) tree info)) (setq info (org-export--collect-tree-properties tree info)) (let* ((body (org-element-normalize-string (or (org-export-data tree info) ""))) (inner-template (cdr (assq (quote inner-template) (plist-get info :translate-alist)))) (full-body (org-export-filter-apply-functions (plist-get info :filter-body) (if (not (functionp inner-template)) body (funcall inner-template body info)) info)) (template (cdr (assq (quote template) (plist-get info :translate-alist))))) (org-no-properties (org-export-filter-apply-functions (plist-get info :filter-final-output) (if (or (not (functionp template)) body-only) full-body (funcall template full-body info)) info))))
  (save-current-buffer (set-buffer --buf-copy) (goto-char (point-min)) (progn (run-hook-with-args (quote org-export-before-processing-hook) (progn nil (or (progn nil (and (vectorp backend) (>= ... 8) (memq ... cl-struct-org-export-backend-tags) t)) (signal (quote wrong-type-argument) (list (quote org-export-backend) backend))) (aref backend 1))) (org-export-expand-include-keyword) (org-export--delete-comment-trees) (org-macro-initialize-templates) (org-macro-replace-all org-macro-templates nil parsed-keywords) (org-set-regexps-and-options) (org-update-radio-target-regexp) (if org-export-babel-evaluate (progn (org-babel-exp-process-buffer) (org-set-regexps-and-options) (org-update-radio-target-regexp))) (goto-char (point-min)) (save-excursion (run-hook-with-args (quote org-export-before-parsing-hook) (progn nil (or (progn nil (and ... ... ... t)) (signal (quote wrong-type-argument) (list ... backend))) (aref backend 1)))) (org-set-regexps-and-options) (org-update-radio-target-regexp) (setq info (org-combine-plists info (org-export-get-environment backend subtreep ext-plist))) (let ((--dolist-tail-- (append (org-export-get-all-options backend) org-export-options-alist))) (while --dolist-tail-- (let ((entry (car --dolist-tail--))) (if (consp entry) (let* (... ...) (if ... ... ...)) (let nil nil)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (setq info (org-export-install-filters info)) (let ((backend-name (progn nil (or (progn nil ...) (signal ... ...)) (aref backend 1)))) (let ((--dolist-tail-- (plist-get info :filter-options))) (while --dolist-tail-- (let ((filter ...)) (let (...) (if result ...)) (setq --dolist-tail-- (cdr --dolist-tail--)))))) (org-macro-replace-all (list (cons "author" (org-element-interpret-data (plist-get info :author))) (cons "date" (let* ((date ...) (value ...)) (if (and ... ... ...) (format "(eval (if (org-string-nw-p \"$1\") %s %S))" ... value) value))) (cons "email" (org-element-interpret-data (plist-get info :email))) (cons "title" (org-element-interpret-data (plist-get info :title))) (cons "results" "$1")) (quote finalize) parsed-keywords) (setq tree (org-element-parse-buffer nil visible-only)) (org-export--prune-tree tree info) (org-export--remove-uninterpreted-data tree info) (setq tree (org-export-filter-apply-functions (plist-get info :filter-parse-tree) tree info)) (setq info (org-export--collect-tree-properties tree info)) (let* ((body (org-element-normalize-string (or (org-export-data tree info) ""))) (inner-template (cdr (assq (quote inner-template) (plist-get info :translate-alist)))) (full-body (org-export-filter-apply-functions (plist-get info :filter-body) (if (not ...) body (funcall inner-template body info)) info)) (template (cdr (assq (quote template) (plist-get info :translate-alist))))) (org-no-properties (org-export-filter-apply-functions (plist-get info :filter-final-output) (if (or (not ...) body-only) full-body (funcall template full-body info)) info)))))
  (unwind-protect (save-current-buffer (set-buffer --buf-copy) (goto-char (point-min)) (progn (run-hook-with-args (quote org-export-before-processing-hook) (progn nil (or (progn nil (and ... ... ... t)) (signal (quote wrong-type-argument) (list ... backend))) (aref backend 1))) (org-export-expand-include-keyword) (org-export--delete-comment-trees) (org-macro-initialize-templates) (org-macro-replace-all org-macro-templates nil parsed-keywords) (org-set-regexps-and-options) (org-update-radio-target-regexp) (if org-export-babel-evaluate (progn (org-babel-exp-process-buffer) (org-set-regexps-and-options) (org-update-radio-target-regexp))) (goto-char (point-min)) (save-excursion (run-hook-with-args (quote org-export-before-parsing-hook) (progn nil (or (progn nil ...) (signal ... ...)) (aref backend 1)))) (org-set-regexps-and-options) (org-update-radio-target-regexp) (setq info (org-combine-plists info (org-export-get-environment backend subtreep ext-plist))) (let ((--dolist-tail-- (append (org-export-get-all-options backend) org-export-options-alist))) (while --dolist-tail-- (let ((entry ...)) (if (consp entry) (let* ... ...) (let nil nil)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (setq info (org-export-install-filters info)) (let ((backend-name (progn nil (or ... ...) (aref backend 1)))) (let ((--dolist-tail-- (plist-get info :filter-options))) (while --dolist-tail-- (let (...) (let ... ...) (setq --dolist-tail-- ...))))) (org-macro-replace-all (list (cons "author" (org-element-interpret-data (plist-get info :author))) (cons "date" (let* (... ...) (if ... ... value))) (cons "email" (org-element-interpret-data (plist-get info :email))) (cons "title" (org-element-interpret-data (plist-get info :title))) (cons "results" "$1")) (quote finalize) parsed-keywords) (setq tree (org-element-parse-buffer nil visible-only)) (org-export--prune-tree tree info) (org-export--remove-uninterpreted-data tree info) (setq tree (org-export-filter-apply-functions (plist-get info :filter-parse-tree) tree info)) (setq info (org-export--collect-tree-properties tree info)) (let* ((body (org-element-normalize-string (or ... ""))) (inner-template (cdr (assq ... ...))) (full-body (org-export-filter-apply-functions (plist-get info :filter-body) (if ... body ...) info)) (template (cdr (assq ... ...)))) (org-no-properties (org-export-filter-apply-functions (plist-get info :filter-final-output) (if (or ... body-only) full-body (funcall template full-body info)) info))))) (and (buffer-live-p --buf-copy) (progn (save-current-buffer (set-buffer --buf-copy) (restore-buffer-modified-p nil)) (kill-buffer --buf-copy))))
  (let ((--buf-copy (org-export-copy-buffer))) (unwind-protect (save-current-buffer (set-buffer --buf-copy) (goto-char (point-min)) (progn (run-hook-with-args (quote org-export-before-processing-hook) (progn nil (or (progn nil ...) (signal ... ...)) (aref backend 1))) (org-export-expand-include-keyword) (org-export--delete-comment-trees) (org-macro-initialize-templates) (org-macro-replace-all org-macro-templates nil parsed-keywords) (org-set-regexps-and-options) (org-update-radio-target-regexp) (if org-export-babel-evaluate (progn (org-babel-exp-process-buffer) (org-set-regexps-and-options) (org-update-radio-target-regexp))) (goto-char (point-min)) (save-excursion (run-hook-with-args (quote org-export-before-parsing-hook) (progn nil (or ... ...) (aref backend 1)))) (org-set-regexps-and-options) (org-update-radio-target-regexp) (setq info (org-combine-plists info (org-export-get-environment backend subtreep ext-plist))) (let ((--dolist-tail-- (append ... org-export-options-alist))) (while --dolist-tail-- (let (...) (if ... ... ...) (setq --dolist-tail-- ...)))) (setq info (org-export-install-filters info)) (let ((backend-name (progn nil ... ...))) (let ((--dolist-tail-- ...)) (while --dolist-tail-- (let ... ... ...)))) (org-macro-replace-all (list (cons "author" (org-element-interpret-data ...)) (cons "date" (let* ... ...)) (cons "email" (org-element-interpret-data ...)) (cons "title" (org-element-interpret-data ...)) (cons "results" "$1")) (quote finalize) parsed-keywords) (setq tree (org-element-parse-buffer nil visible-only)) (org-export--prune-tree tree info) (org-export--remove-uninterpreted-data tree info) (setq tree (org-export-filter-apply-functions (plist-get info :filter-parse-tree) tree info)) (setq info (org-export--collect-tree-properties tree info)) (let* ((body (org-element-normalize-string ...)) (inner-template (cdr ...)) (full-body (org-export-filter-apply-functions ... ... info)) (template (cdr ...))) (org-no-properties (org-export-filter-apply-functions (plist-get info :filter-final-output) (if ... full-body ...) info))))) (and (buffer-live-p --buf-copy) (progn (save-current-buffer (set-buffer --buf-copy) (restore-buffer-modified-p nil)) (kill-buffer --buf-copy)))))
  (let* ((org-export-current-backend (progn nil (or (progn nil (and (vectorp backend) (>= ... 8) (memq ... cl-struct-org-export-backend-tags) t)) (signal (quote wrong-type-argument) (list (quote org-export-backend) backend))) (aref backend 1))) (info (org-combine-plists (org-export--get-export-attributes backend subtreep visible-only body-only) (org-export--get-buffer-attributes))) (parsed-keywords (delq nil (mapcar (function (lambda (o) (and ... ...))) (append (org-export-get-all-options backend) org-export-options-alist)))) tree) (let ((--buf-copy (org-export-copy-buffer))) (unwind-protect (save-current-buffer (set-buffer --buf-copy) (goto-char (point-min)) (progn (run-hook-with-args (quote org-export-before-processing-hook) (progn nil (or ... ...) (aref backend 1))) (org-export-expand-include-keyword) (org-export--delete-comment-trees) (org-macro-initialize-templates) (org-macro-replace-all org-macro-templates nil parsed-keywords) (org-set-regexps-and-options) (org-update-radio-target-regexp) (if org-export-babel-evaluate (progn (org-babel-exp-process-buffer) (org-set-regexps-and-options) (org-update-radio-target-regexp))) (goto-char (point-min)) (save-excursion (run-hook-with-args (quote org-export-before-parsing-hook) (progn nil ... ...))) (org-set-regexps-and-options) (org-update-radio-target-regexp) (setq info (org-combine-plists info (org-export-get-environment backend subtreep ext-plist))) (let ((--dolist-tail-- ...)) (while --dolist-tail-- (let ... ... ...))) (setq info (org-export-install-filters info)) (let ((backend-name ...)) (let (...) (while --dolist-tail-- ...))) (org-macro-replace-all (list (cons "author" ...) (cons "date" ...) (cons "email" ...) (cons "title" ...) (cons "results" "$1")) (quote finalize) parsed-keywords) (setq tree (org-element-parse-buffer nil visible-only)) (org-export--prune-tree tree info) (org-export--remove-uninterpreted-data tree info) (setq tree (org-export-filter-apply-functions (plist-get info :filter-parse-tree) tree info)) (setq info (org-export--collect-tree-properties tree info)) (let* ((body ...) (inner-template ...) (full-body ...) (template ...)) (org-no-properties (org-export-filter-apply-functions ... ... info))))) (and (buffer-live-p --buf-copy) (progn (save-current-buffer (set-buffer --buf-copy) (restore-buffer-modified-p nil)) (kill-buffer --buf-copy))))))
  (save-restriction (cond ((org-region-active-p) (narrow-to-region (region-beginning) (region-end))) (subtreep (org-narrow-to-subtree) (goto-char (point-min)) (org-end-of-meta-data) (narrow-to-region (point) (point-max)))) (let* ((org-export-current-backend (progn nil (or (progn nil (and ... ... ... t)) (signal (quote wrong-type-argument) (list ... backend))) (aref backend 1))) (info (org-combine-plists (org-export--get-export-attributes backend subtreep visible-only body-only) (org-export--get-buffer-attributes))) (parsed-keywords (delq nil (mapcar (function (lambda ... ...)) (append (org-export-get-all-options backend) org-export-options-alist)))) tree) (let ((--buf-copy (org-export-copy-buffer))) (unwind-protect (save-current-buffer (set-buffer --buf-copy) (goto-char (point-min)) (progn (run-hook-with-args (quote org-export-before-processing-hook) (progn nil ... ...)) (org-export-expand-include-keyword) (org-export--delete-comment-trees) (org-macro-initialize-templates) (org-macro-replace-all org-macro-templates nil parsed-keywords) (org-set-regexps-and-options) (org-update-radio-target-regexp) (if org-export-babel-evaluate (progn ... ... ...)) (goto-char (point-min)) (save-excursion (run-hook-with-args ... ...)) (org-set-regexps-and-options) (org-update-radio-target-regexp) (setq info (org-combine-plists info ...)) (let (...) (while --dolist-tail-- ...)) (setq info (org-export-install-filters info)) (let (...) (let ... ...)) (org-macro-replace-all (list ... ... ... ... ...) (quote finalize) parsed-keywords) (setq tree (org-element-parse-buffer nil visible-only)) (org-export--prune-tree tree info) (org-export--remove-uninterpreted-data tree info) (setq tree (org-export-filter-apply-functions ... tree info)) (setq info (org-export--collect-tree-properties tree info)) (let* (... ... ... ...) (org-no-properties ...)))) (and (buffer-live-p --buf-copy) (progn (save-current-buffer (set-buffer --buf-copy) (restore-buffer-modified-p nil)) (kill-buffer --buf-copy)))))))
  (save-excursion (save-restriction (cond ((org-region-active-p) (narrow-to-region (region-beginning) (region-end))) (subtreep (org-narrow-to-subtree) (goto-char (point-min)) (org-end-of-meta-data) (narrow-to-region (point) (point-max)))) (let* ((org-export-current-backend (progn nil (or (progn nil ...) (signal ... ...)) (aref backend 1))) (info (org-combine-plists (org-export--get-export-attributes backend subtreep visible-only body-only) (org-export--get-buffer-attributes))) (parsed-keywords (delq nil (mapcar (function ...) (append ... org-export-options-alist)))) tree) (let ((--buf-copy (org-export-copy-buffer))) (unwind-protect (save-current-buffer (set-buffer --buf-copy) (goto-char (point-min)) (progn (run-hook-with-args ... ...) (org-export-expand-include-keyword) (org-export--delete-comment-trees) (org-macro-initialize-templates) (org-macro-replace-all org-macro-templates nil parsed-keywords) (org-set-regexps-and-options) (org-update-radio-target-regexp) (if org-export-babel-evaluate ...) (goto-char ...) (save-excursion ...) (org-set-regexps-and-options) (org-update-radio-target-regexp) (setq info ...) (let ... ...) (setq info ...) (let ... ...) (org-macro-replace-all ... ... parsed-keywords) (setq tree ...) (org-export--prune-tree tree info) (org-export--remove-uninterpreted-data tree info) (setq tree ...) (setq info ...) (let* ... ...))) (and (buffer-live-p --buf-copy) (progn (save-current-buffer ... ...) (kill-buffer --buf-copy))))))))
  org-export-as(html nil nil nil (:output-file "/home/smile13241324/.emacs.d/export/layers/+lang/plantuml/README.html" :base-directory "~/.emacs.d/layers/" :base-extension "org" :recursive t :publishing-directory "~/.emacs.d/export/layers/" :publishing-function org-html-publish-to-html :preparation-function spacemacs/generate-layers-file :exclude "local\\|dockerfiles" :html-head "<link rel=\"stylesheet\" type=\"text/css\"\n                 href=\"http://www.pirilampo.org/styles/readtheorg/css/htmlize.css\"/>\n          <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\"></script>\n          <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js\"></script>\n          <script src=\"http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js\"></script>\n          <script>\n          // Google Analytics\n                     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n                         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new\n                         Date();a=s.createElement(o),\n                         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n                         })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n                     ga('create', 'UA-28326243-2', 'auto'); ga('send', 'pageview');\n\n          // Add permalinks to the documentation headings\n          $(document).ready(function() {\n              [\".outline-2 h2\", \".outline-3 h3\", \".outline-4 h4\", \".outline-5 h5\"].forEach(function(i) {\n                  $(i).each(function() {\n                          var page_url = window.location.pathname;\n                          var node = $(this).attr(\"id\");\n                          var full_url = page_url + \"#\" + node;\n                          $(this).contents().last().after('<span id=\"permalink\"><a href=\"'\n                                                          + full_url + '\">¶</a></span>');\n                  });\n              });\n          });\n          </script>" :crossrefs (((other "Key" "bindings") . 172094257) ((headline "Key" "bindings") . 172094257) ((other "Org-Babel" "Integration") . 56466463) ((headline "Org-Babel" "Integration") . 56466463) ((other "Install") . 95960421) ((headline "Install") . 95960421) ((other "Description") . 233732917) ((headline "Description") . 233732917)) :filter-final-output (org-publish--store-crossrefs org-publish-collect-index)))
  (let ((output (org-export-as backend subtreep visible-only body-only ext-plist))) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert output) (let ((coding-system-for-write encoding)) (write-file file))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (if (and (org-export--copy-to-kill-ring-p) (org-string-nw-p output)) (progn (org-kill-new output))) (or (and (functionp post-process) (funcall post-process file)) file))
  (if async (let ((with-temp-message "Initializing asynchronous export process") (current-message)) (unwind-protect (progn (if with-temp-message (progn (setq current-message (current-message)) (message "%s" with-temp-message))) (let ((--copy-fun (org-export--generate-copy-script ...)) (--temp-file (make-temp-file "org-export-process")) (--coding buffer-file-coding-system)) (let ((temp-file --temp-file) (temp-buffer ...)) (unwind-protect (prog1 ... ...) (and ... ...))) (let* ((process-connection-type nil) (--proc-buffer ...) (--process ...)) (org-export-add-to-stack (get-buffer --proc-buffer) nil --process) (let (...) (set-process-sentinel --process ...))))) (and with-temp-message (if current-message (message "%s" current-message) (message nil))))) (let ((output (org-export-as backend subtreep visible-only body-only ext-plist))) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert output) (let (...) (write-file file))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (if (and (org-export--copy-to-kill-ring-p) (org-string-nw-p output)) (progn (org-kill-new output))) (or (and (functionp post-process) (funcall post-process file)) file)))
  (let ((ext-plist (org-combine-plists (list (quote :output-file) file) ext-plist)) (encoding (or org-export-coding-system buffer-file-coding-system))) (if async (let ((with-temp-message "Initializing asynchronous export process") (current-message)) (unwind-protect (progn (if with-temp-message (progn (setq current-message ...) (message "%s" with-temp-message))) (let ((--copy-fun ...) (--temp-file ...) (--coding buffer-file-coding-system)) (let (... ...) (unwind-protect ... ...)) (let* (... ... ...) (org-export-add-to-stack ... nil --process) (let ... ...)))) (and with-temp-message (if current-message (message "%s" current-message) (message nil))))) (let ((output (org-export-as backend subtreep visible-only body-only ext-plist))) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert output) (let ... ...)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (if (and (org-export--copy-to-kill-ring-p) (org-string-nw-p output)) (progn (org-kill-new output))) (or (and (functionp post-process) (funcall post-process file)) file))))
  (if (not (file-writable-p file)) (error "Output file not writable") (let ((ext-plist (org-combine-plists (list (quote :output-file) file) ext-plist)) (encoding (or org-export-coding-system buffer-file-coding-system))) (if async (let ((with-temp-message "Initializing asynchronous export process") (current-message)) (unwind-protect (progn (if with-temp-message (progn ... ...)) (let (... ... ...) (let ... ...) (let* ... ... ...))) (and with-temp-message (if current-message (message "%s" current-message) (message nil))))) (let ((output (org-export-as backend subtreep visible-only body-only ext-plist))) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ... ...) (and ... ...)))) (if (and (org-export--copy-to-kill-ring-p) (org-string-nw-p output)) (progn (org-kill-new output))) (or (and (functionp post-process) (funcall post-process file)) file)))))
  org-export-to-file(html "/home/smile13241324/.emacs.d/export/layers/+lang/plantuml/README.html" nil nil nil nil (:base-directory "~/.emacs.d/layers/" :base-extension "org" :recursive t :publishing-directory "~/.emacs.d/export/layers/" :publishing-function org-html-publish-to-html :preparation-function spacemacs/generate-layers-file :exclude "local\\|dockerfiles" :html-head "<link rel=\"stylesheet\" type=\"text/css\"\n                 href=\"http://www.pirilampo.org/styles/readtheorg/css/htmlize.css\"/>\n          <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\"></script>\n          <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js\"></script>\n          <script src=\"http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js\"></script>\n          <script>\n          // Google Analytics\n                     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n                         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new\n                         Date();a=s.createElement(o),\n                         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n                         })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n                     ga('create', 'UA-28326243-2', 'auto'); ga('send', 'pageview');\n\n          // Add permalinks to the documentation headings\n          $(document).ready(function() {\n              [\".outline-2 h2\", \".outline-3 h3\", \".outline-4 h4\", \".outline-5 h5\"].forEach(function(i) {\n                  $(i).each(function() {\n                          var page_url = window.location.pathname;\n                          var node = $(this).attr(\"id\");\n                          var full_url = page_url + \"#\" + node;\n                          $(this).contents().last().after('<span id=\"permalink\"><a href=\"'\n                                                          + full_url + '\">¶</a></span>');\n                  });\n              });\n          });\n          </script>" :crossrefs (((other "Key" "bindings") . 172094257) ((headline "Key" "bindings") . 172094257) ((other "Org-Babel" "Integration") . 56466463) ((headline "Org-Babel" "Integration") . 56466463) ((other "Install") . 95960421) ((headline "Install") . 95960421) ((other "Description") . 233732917) ((headline "Description") . 233732917)) :filter-final-output (org-publish--store-crossrefs org-publish-collect-index)))
  (let ((output (org-export-output-file-name extension nil pub-dir))) (org-export-to-file backend output nil nil nil (plist-get plist :body-only) (org-combine-plists plist (list (quote :crossrefs) (org-publish-cache-get-file-property (file-truename filename) :crossrefs nil t) (quote :filter-final-output) (cons (quote org-publish--store-crossrefs) (cons (quote org-publish-collect-index) (plist-get plist :filter-final-output)))))))
  (save-current-buffer (set-buffer work-buffer) (let ((output (org-export-output-file-name extension nil pub-dir))) (org-export-to-file backend output nil nil nil (plist-get plist :body-only) (org-combine-plists plist (list (quote :crossrefs) (org-publish-cache-get-file-property (file-truename filename) :crossrefs nil t) (quote :filter-final-output) (cons (quote org-publish--store-crossrefs) (cons (quote org-publish-collect-index) (plist-get plist :filter-final-output))))))))
  (unwind-protect (save-current-buffer (set-buffer work-buffer) (let ((output (org-export-output-file-name extension nil pub-dir))) (org-export-to-file backend output nil nil nil (plist-get plist :body-only) (org-combine-plists plist (list (quote :crossrefs) (org-publish-cache-get-file-property (file-truename filename) :crossrefs nil t) (quote :filter-final-output) (cons (quote org-publish--store-crossrefs) (cons ... ...))))))) (if visiting nil (kill-buffer work-buffer)))
  (let* ((org-inhibit-startup t) (visiting (find-buffer-visiting filename)) (work-buffer (or visiting (find-file-noselect filename)))) (unwind-protect (save-current-buffer (set-buffer work-buffer) (let ((output (org-export-output-file-name extension nil pub-dir))) (org-export-to-file backend output nil nil nil (plist-get plist :body-only) (org-combine-plists plist (list (quote :crossrefs) (org-publish-cache-get-file-property ... :crossrefs nil t) (quote :filter-final-output) (cons ... ...)))))) (if visiting nil (kill-buffer work-buffer))))
  org-publish-org-to(html "/home/smile13241324/.emacs.d/layers/+lang/plantuml/README.org" ".html" (:base-directory "~/.emacs.d/layers/" :base-extension "org" :recursive t :publishing-directory "~/.emacs.d/export/layers/" :publishing-function org-html-publish-to-html :preparation-function spacemacs/generate-layers-file :exclude "local\\|dockerfiles" :html-head "<link rel=\"stylesheet\" type=\"text/css\"\n                 href=\"http://www.pirilampo.org/styles/readtheorg/css/htmlize.css\"/>\n          <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\"></script>\n          <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js\"></script>\n          <script src=\"http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js\"></script>\n          <script>\n          // Google Analytics\n                     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n                         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new\n                         Date();a=s.createElement(o),\n                         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n                         })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n                     ga('create', 'UA-28326243-2', 'auto'); ga('send', 'pageview');\n\n          // Add permalinks to the documentation headings\n          $(document).ready(function() {\n              [\".outline-2 h2\", \".outline-3 h3\", \".outline-4 h4\", \".outline-5 h5\"].forEach(function(i) {\n                  $(i).each(function() {\n                          var page_url = window.location.pathname;\n                          var node = $(this).attr(\"id\");\n                          var full_url = page_url + \"#\" + node;\n                          $(this).contents().last().after('<span id=\"permalink\"><a href=\"'\n                                                          + full_url + '\">¶</a></span>');\n                  });\n              });\n          });\n          </script>") "/home/smile13241324/.emacs.d/export/layers/+lang/plantuml/")
  (closure (org-html-standalone-image-predicate htmlize-buffer-places org-html-format-table-no-css htmlize-css-name-prefix htmlize-output-type htmlize-output-type htmlize-css-name-prefix t) (plist filename pub-dir) "Publish an org file to HTML.\n\nFILENAME is the filename of the Org file to be published.  PLIST\nis the property list for the given project.  PUB-DIR is the\npublishing directory.\n\nReturn output file name." (org-publish-org-to (quote html) filename (concat "." (or (plist-get plist :html-extension) org-html-extension "html")) plist pub-dir))((:base-directory "~/.emacs.d/layers/" :base-extension "org" :recursive t :publishing-directory "~/.emacs.d/export/layers/" :publishing-function org-html-publish-to-html :preparation-function spacemacs/generate-layers-file :exclude "local\\|dockerfiles" :html-head "<link rel=\"stylesheet\" type=\"text/css\"\n                 href=\"http://www.pirilampo.org/styles/readtheorg/css/htmlize.css\"/>\n          <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\"></script>\n          <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js\"></script>\n          <script src=\"http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js\"></script>\n          <script>\n          // Google Analytics\n                     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n                         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new\n                         Date();a=s.createElement(o),\n                         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n                         })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n                     ga('create', 'UA-28326243-2', 'auto'); ga('send', 'pageview');\n\n          // Add permalinks to the documentation headings\n          $(document).ready(function() {\n              [\".outline-2 h2\", \".outline-3 h3\", \".outline-4 h4\", \".outline-5 h5\"].forEach(function(i) {\n                  $(i).each(function() {\n                          var page_url = window.location.pathname;\n                          var node = $(this).attr(\"id\");\n                          var full_url = page_url + \"#\" + node;\n                          $(this).contents().last().after('<span id=\"permalink\"><a href=\"'\n                                                          + full_url + '\">¶</a></span>');\n                  });\n              });\n          });\n          </script>") "/home/smile13241324/.emacs.d/layers/+lang/plantuml/README.org" "/home/smile13241324/.emacs.d/export/layers/+lang/plantuml/")
  apply((closure (org-html-standalone-image-predicate htmlize-buffer-places org-html-format-table-no-css htmlize-css-name-prefix htmlize-output-type htmlize-output-type htmlize-css-name-prefix t) (plist filename pub-dir) "Publish an org file to HTML.\n\nFILENAME is the filename of the Org file to be published.  PLIST\nis the property list for the given project.  PUB-DIR is the\npublishing directory.\n\nReturn output file name." (org-publish-org-to (quote html) filename (concat "." (or (plist-get plist :html-extension) org-html-extension "html")) plist pub-dir)) ((:base-directory "~/.emacs.d/layers/" :base-extension "org" :recursive t :publishing-directory "~/.emacs.d/export/layers/" :publishing-function org-html-publish-to-html :preparation-function spacemacs/generate-layers-file :exclude "local\\|dockerfiles" :html-head "<link rel=\"stylesheet\" type=\"text/css\"\n                 href=\"http://www.pirilampo.org/styles/readtheorg/css/htmlize.css\"/>\n          <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\"></script>\n          <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js\"></script>\n          <script src=\"http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js\"></script>\n          <script>\n          // Google Analytics\n                     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n                         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new\n                         Date();a=s.createElement(o),\n                         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n                         })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n                     ga('create', 'UA-28326243-2', 'auto'); ga('send', 'pageview');\n\n          // Add permalinks to the documentation headings\n          $(document).ready(function() {\n              [\".outline-2 h2\", \".outline-3 h3\", \".outline-4 h4\", \".outline-5 h5\"].forEach(function(i) {\n                  $(i).each(function() {\n                          var page_url = window.location.pathname;\n                          var node = $(this).attr(\"id\");\n                          var full_url = page_url + \"#\" + node;\n                          $(this).contents().last().after('<span id=\"permalink\"><a href=\"'\n                                                          + full_url + '\">¶</a></span>');\n                  });\n              });\n          });\n          </script>") "/home/smile13241324/.emacs.d/layers/+lang/plantuml/README.org" "/home/smile13241324/.emacs.d/export/layers/+lang/plantuml/"))
  (progn (insert-file-contents filename t) (spacemacs//org-heading-annotate-custom-id) (spacemacs//add-org-meta-readtheorg-css filename) (spacemacs//toc-org-unhrefify-toc) (spacemacs//reroot-links) (apply origfunc args) (set-buffer-modified-p nil))
  (unwind-protect (progn (insert-file-contents filename t) (spacemacs//org-heading-annotate-custom-id) (spacemacs//add-org-meta-readtheorg-css filename) (spacemacs//toc-org-unhrefify-toc) (spacemacs//reroot-links) (apply origfunc args) (set-buffer-modified-p nil)) (set-match-data save-match-data-internal (quote evaporate)))
  (let ((save-match-data-internal (match-data))) (unwind-protect (progn (insert-file-contents filename t) (spacemacs//org-heading-annotate-custom-id) (spacemacs//add-org-meta-readtheorg-css filename) (spacemacs//toc-org-unhrefify-toc) (spacemacs//reroot-links) (apply origfunc args) (set-buffer-modified-p nil)) (set-match-data save-match-data-internal (quote evaporate))))
  (progn (let ((save-match-data-internal (match-data))) (unwind-protect (progn (insert-file-contents filename t) (spacemacs//org-heading-annotate-custom-id) (spacemacs//add-org-meta-readtheorg-css filename) (spacemacs//toc-org-unhrefify-toc) (spacemacs//reroot-links) (apply origfunc args) (set-buffer-modified-p nil)) (set-match-data save-match-data-internal (quote evaporate)))))
  (unwind-protect (progn (let ((save-match-data-internal (match-data))) (unwind-protect (progn (insert-file-contents filename t) (spacemacs//org-heading-annotate-custom-id) (spacemacs//add-org-meta-readtheorg-css filename) (spacemacs//toc-org-unhrefify-toc) (spacemacs//reroot-links) (apply origfunc args) (set-buffer-modified-p nil)) (set-match-data save-match-data-internal (quote evaporate))))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let ((save-match-data-internal (match-data))) (unwind-protect (progn (insert-file-contents filename t) (spacemacs//org-heading-annotate-custom-id) (spacemacs//add-org-meta-readtheorg-css filename) (spacemacs//toc-org-unhrefify-toc) (spacemacs//reroot-links) (apply origfunc args) (set-buffer-modified-p nil)) (set-match-data save-match-data-internal (quote evaporate))))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))
  (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let ((save-match-data-internal (match-data))) (unwind-protect (progn (insert-file-contents filename t) (spacemacs//org-heading-annotate-custom-id) (spacemacs//add-org-meta-readtheorg-css filename) (spacemacs//toc-org-unhrefify-toc) (spacemacs//reroot-links) (apply origfunc args) (set-buffer-modified-p nil)) (set-match-data save-match-data-internal (quote evaporate))))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))))
  (let* ((filename (car (nthcdr 1 args))) (visitingp (find-buffer-visiting filename))) (if visitingp (progn (save-current-buffer (set-buffer visitingp) (setq buffer-file-name nil)))) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let ((save-match-data-internal ...)) (unwind-protect (progn ... ... ... ... ... ... ...) (set-match-data save-match-data-internal ...)))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (if visitingp (progn (save-current-buffer (set-buffer visitingp) (setq buffer-file-name filename)))))
  (save-excursion (let* ((filename (car (nthcdr 1 args))) (visitingp (find-buffer-visiting filename))) (if visitingp (progn (save-current-buffer (set-buffer visitingp) (setq buffer-file-name nil)))) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let (...) (unwind-protect ... ...))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (if visitingp (progn (save-current-buffer (set-buffer visitingp) (setq buffer-file-name filename))))))
  (save-current-buffer (save-excursion (let* ((filename (car (nthcdr 1 args))) (visitingp (find-buffer-visiting filename))) (if visitingp (progn (save-current-buffer (set-buffer visitingp) (setq buffer-file-name nil)))) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let ... ...)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (if visitingp (progn (save-current-buffer (set-buffer visitingp) (setq buffer-file-name filename)))))))
  spacemacs//pub-doc-html-advice((closure (org-html-standalone-image-predicate htmlize-buffer-places org-html-format-table-no-css htmlize-css-name-prefix htmlize-output-type htmlize-output-type htmlize-css-name-prefix t) (plist filename pub-dir) "Publish an org file to HTML.\n\nFILENAME is the filename of the Org file to be published.  PLIST\nis the property list for the given project.  PUB-DIR is the\npublishing directory.\n\nReturn output file name." (org-publish-org-to (quote html) filename (concat "." (or (plist-get plist :html-extension) org-html-extension "html")) plist pub-dir)) (:base-directory "~/.emacs.d/layers/" :base-extension "org" :recursive t :publishing-directory "~/.emacs.d/export/layers/" :publishing-function org-html-publish-to-html :preparation-function spacemacs/generate-layers-file :exclude "local\\|dockerfiles" :html-head "<link rel=\"stylesheet\" type=\"text/css\"\n                 href=\"http://www.pirilampo.org/styles/readtheorg/css/htmlize.css\"/>\n          <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\"></script>\n          <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js\"></script>\n          <script src=\"http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js\"></script>\n          <script>\n          // Google Analytics\n                     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n                         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new\n                         Date();a=s.createElement(o),\n                         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n                         })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n                     ga('create', 'UA-28326243-2', 'auto'); ga('send', 'pageview');\n\n          // Add permalinks to the documentation headings\n          $(document).ready(function() {\n              [\".outline-2 h2\", \".outline-3 h3\", \".outline-4 h4\", \".outline-5 h5\"].forEach(function(i) {\n                  $(i).each(function() {\n                          var page_url = window.location.pathname;\n                          var node = $(this).attr(\"id\");\n                          var full_url = page_url + \"#\" + node;\n                          $(this).contents().last().after('<span id=\"permalink\"><a href=\"'\n                                                          + full_url + '\">¶</a></span>');\n                  });\n              });\n          });\n          </script>") "/home/smile13241324/.emacs.d/layers/+lang/plantuml/README.org" "/home/smile13241324/.emacs.d/export/layers/+lang/plantuml/")
  apply(spacemacs//pub-doc-html-advice (closure (org-html-standalone-image-predicate htmlize-buffer-places org-html-format-table-no-css htmlize-css-name-prefix htmlize-output-type htmlize-output-type htmlize-css-name-prefix t) (plist filename pub-dir) "Publish an org file to HTML.\n\nFILENAME is the filename of the Org file to be published.  PLIST\nis the property list for the given project.  PUB-DIR is the\npublishing directory.\n\nReturn output file name." (org-publish-org-to (quote html) filename (concat "." (or (plist-get plist :html-extension) org-html-extension "html")) plist pub-dir)) ((:base-directory "~/.emacs.d/layers/" :base-extension "org" :recursive t :publishing-directory "~/.emacs.d/export/layers/" :publishing-function org-html-publish-to-html :preparation-function spacemacs/generate-layers-file :exclude "local\\|dockerfiles" :html-head "<link rel=\"stylesheet\" type=\"text/css\"\n                 href=\"http://www.pirilampo.org/styles/readtheorg/css/htmlize.css\"/>\n          <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\"></script>\n          <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js\"></script>\n          <script src=\"http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js\"></script>\n          <script>\n          // Google Analytics\n                     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n                         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new\n                         Date();a=s.createElement(o),\n                         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n                         })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n                     ga('create', 'UA-28326243-2', 'auto'); ga('send', 'pageview');\n\n          // Add permalinks to the documentation headings\n          $(document).ready(function() {\n              [\".outline-2 h2\", \".outline-3 h3\", \".outline-4 h4\", \".outline-5 h5\"].forEach(function(i) {\n                  $(i).each(function() {\n                          var page_url = window.location.pathname;\n                          var node = $(this).attr(\"id\");\n                          var full_url = page_url + \"#\" + node;\n                          $(this).contents().last().after('<span id=\"permalink\"><a href=\"'\n                                                          + full_url + '\">¶</a></span>');\n                  });\n              });\n          });\n          </script>") "/home/smile13241324/.emacs.d/layers/+lang/plantuml/README.org" "/home/smile13241324/.emacs.d/export/layers/+lang/plantuml/"))
  org-html-publish-to-html((:base-directory "~/.emacs.d/layers/" :base-extension "org" :recursive t :publishing-directory "~/.emacs.d/export/layers/" :publishing-function org-html-publish-to-html :preparation-function spacemacs/generate-layers-file :exclude "local\\|dockerfiles" :html-head "<link rel=\"stylesheet\" type=\"text/css\"\n                 href=\"http://www.pirilampo.org/styles/readtheorg/css/htmlize.css\"/>\n          <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\"></script>\n          <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js\"></script>\n          <script src=\"http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js\"></script>\n          <script>\n          // Google Analytics\n                     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n                         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new\n                         Date();a=s.createElement(o),\n                         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n                         })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n                     ga('create', 'UA-28326243-2', 'auto'); ga('send', 'pageview');\n\n          // Add permalinks to the documentation headings\n          $(document).ready(function() {\n              [\".outline-2 h2\", \".outline-3 h3\", \".outline-4 h4\", \".outline-5 h5\"].forEach(function(i) {\n                  $(i).each(function() {\n                          var page_url = window.location.pathname;\n                          var node = $(this).attr(\"id\");\n                          var full_url = page_url + \"#\" + node;\n                          $(this).contents().last().after('<span id=\"permalink\"><a href=\"'\n                                                          + full_url + '\">¶</a></span>');\n                  });\n              });\n          });\n          </script>") "/home/smile13241324/.emacs.d/layers/+lang/plantuml/README.org" "/home/smile13241324/.emacs.d/export/layers/+lang/plantuml/")
  funcall(org-html-publish-to-html (:base-directory "~/.emacs.d/layers/" :base-extension "org" :recursive t :publishing-directory "~/.emacs.d/export/layers/" :publishing-function org-html-publish-to-html :preparation-function spacemacs/generate-layers-file :exclude "local\\|dockerfiles" :html-head "<link rel=\"stylesheet\" type=\"text/css\"\n                 href=\"http://www.pirilampo.org/styles/readtheorg/css/htmlize.css\"/>\n          <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\"></script>\n          <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js\"></script>\n          <script src=\"http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js\"></script>\n          <script>\n          // Google Analytics\n                     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n                         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new\n                         Date();a=s.createElement(o),\n                         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n                         })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n                     ga('create', 'UA-28326243-2', 'auto'); ga('send', 'pageview');\n\n          // Add permalinks to the documentation headings\n          $(document).ready(function() {\n              [\".outline-2 h2\", \".outline-3 h3\", \".outline-4 h4\", \".outline-5 h5\"].forEach(function(i) {\n                  $(i).each(function() {\n                          var page_url = window.location.pathname;\n                          var node = $(this).attr(\"id\");\n                          var full_url = page_url + \"#\" + node;\n                          $(this).contents().last().after('<span id=\"permalink\"><a href=\"'\n                                                          + full_url + '\">¶</a></span>');\n                  });\n              });\n          });\n          </script>") "/home/smile13241324/.emacs.d/layers/+lang/plantuml/README.org" "/home/smile13241324/.emacs.d/export/layers/+lang/plantuml/")
  (let ((output (funcall f project-plist filename pub-dir))) (org-publish-update-timestamp filename pub-base-dir f base-dir) (run-hook-with-args (quote org-publish-after-publishing-hook) filename output))
  (progn (let ((output (funcall f project-plist filename pub-dir))) (org-publish-update-timestamp filename pub-base-dir f base-dir) (run-hook-with-args (quote org-publish-after-publishing-hook) filename output)))
  (if (org-publish-needed-p filename pub-base-dir f pub-dir base-dir) (progn (let ((output (funcall f project-plist filename pub-dir))) (org-publish-update-timestamp filename pub-base-dir f base-dir) (run-hook-with-args (quote org-publish-after-publishing-hook) filename output))))
  (let ((f (car --dolist-tail--))) (if (org-publish-needed-p filename pub-base-dir f pub-dir base-dir) (progn (let ((output (funcall f project-plist filename pub-dir))) (org-publish-update-timestamp filename pub-base-dir f base-dir) (run-hook-with-args (quote org-publish-after-publishing-hook) filename output)))) (setq --dolist-tail-- (cdr --dolist-tail--)))
  (while --dolist-tail-- (let ((f (car --dolist-tail--))) (if (org-publish-needed-p filename pub-base-dir f pub-dir base-dir) (progn (let ((output (funcall f project-plist filename pub-dir))) (org-publish-update-timestamp filename pub-base-dir f base-dir) (run-hook-with-args (quote org-publish-after-publishing-hook) filename output)))) (setq --dolist-tail-- (cdr --dolist-tail--))))
  (let ((--dolist-tail-- publishing-function)) (while --dolist-tail-- (let ((f (car --dolist-tail--))) (if (org-publish-needed-p filename pub-base-dir f pub-dir base-dir) (progn (let ((output ...)) (org-publish-update-timestamp filename pub-base-dir f base-dir) (run-hook-with-args (quote org-publish-after-publishing-hook) filename output)))) (setq --dolist-tail-- (cdr --dolist-tail--)))))
  (let* ((project (or project (org-publish-get-project-from-filename filename) (user-error "File %S is not part of any known project" (abbreviate-file-name filename)))) (project-plist (cdr project)) (publishing-function (let* ((val (plist-get project-plist :publishing-function))) (cond ((null val) (let nil (user-error "No publishing function chosen"))) ((listp val) (let (...) f)) (t (let (...) (list f)))))) (base-dir (file-name-as-directory (or (org-publish-property :base-directory project) (user-error "Project %S does not have :base-directory defined" (car project))))) (pub-base-dir (file-name-as-directory (or (org-publish-property :publishing-directory project) (user-error "Project %S does not have :publishing-directory defined" (car project))))) (pub-dir (file-name-directory (expand-file-name (file-relative-name filename base-dir) pub-base-dir)))) (if no-cache nil (org-publish-initialize-cache (car project))) (let ((--dolist-tail-- publishing-function)) (while --dolist-tail-- (let ((f (car --dolist-tail--))) (if (org-publish-needed-p filename pub-base-dir f pub-dir base-dir) (progn (let (...) (org-publish-update-timestamp filename pub-base-dir f base-dir) (run-hook-with-args ... filename output)))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (org-publish-write-cache-file))
  org-publish-file("/home/smile13241324/.emacs.d/layers/+lang/plantuml/README.org" ("layers-doc" :base-directory "~/.emacs.d/layers/" :base-extension "org" :recursive t :publishing-directory "~/.emacs.d/export/layers/" :publishing-function org-html-publish-to-html :preparation-function spacemacs/generate-layers-file :exclude "local\\|dockerfiles" :html-head "<link rel=\"stylesheet\" type=\"text/css\"\n                 href=\"http://www.pirilampo.org/styles/readtheorg/css/htmlize.css\"/>\n          <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\"></script>\n          <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js\"></script>\n          <script src=\"http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js\"></script>\n          <script>\n          // Google Analytics\n                     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n                         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new\n                         Date();a=s.createElement(o),\n                         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n                         })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n                     ga('create', 'UA-28326243-2', 'auto'); ga('send', 'pageview');\n\n          // Add permalinks to the documentation headings\n          $(document).ready(function() {\n              [\".outline-2 h2\", \".outline-3 h3\", \".outline-4 h4\", \".outline-5 h5\"].forEach(function(i) {\n                  $(i).each(function() {\n                          var page_url = window.location.pathname;\n                          var node = $(this).attr(\"id\");\n                          var full_url = page_url + \"#\" + node;\n                          $(this).contents().last().after('<span id=\"permalink\"><a href=\"'\n                                                          + full_url + '\">¶</a></span>');\n                  });\n              });\n          });\n          </script>") t)
  (if (file-equal-p file theindex) nil (org-publish-file file project t))
  (let ((file (car --dolist-tail--))) (if (file-equal-p file theindex) nil (org-publish-file file project t)) (setq --dolist-tail-- (cdr --dolist-tail--)))
  (while --dolist-tail-- (let ((file (car --dolist-tail--))) (if (file-equal-p file theindex) nil (org-publish-file file project t)) (setq --dolist-tail-- (cdr --dolist-tail--))))
  (let ((--dolist-tail-- (org-publish-get-base-files project exclude-regexp))) (while --dolist-tail-- (let ((file (car --dolist-tail--))) (if (file-equal-p file theindex) nil (org-publish-file file project t)) (setq --dolist-tail-- (cdr --dolist-tail--)))))
  (let ((theindex (expand-file-name "theindex.org" (plist-get project-plist :base-directory))) (exclude-regexp (plist-get project-plist :exclude))) (let ((--dolist-tail-- (org-publish-get-base-files project exclude-regexp))) (while --dolist-tail-- (let ((file (car --dolist-tail--))) (if (file-equal-p file theindex) nil (org-publish-file file project t)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (if (plist-get project-plist :makeindex) (progn (org-publish-index-generate-theindex project (plist-get project-plist :base-directory)) (org-publish-file theindex project t))))
  (let ((project-plist (cdr project))) (let ((fun (plist-get project-plist :preparation-function))) (cond ((consp fun) (let ((--dolist-tail-- fun)) (while --dolist-tail-- (let (...) (funcall f project-plist) (setq --dolist-tail-- ...))))) ((functionp fun) (funcall fun project-plist)))) (org-publish-initialize-cache (car project)) (if (plist-get project-plist :auto-sitemap) (progn (let ((sitemap-filename (or (plist-get project-plist :sitemap-filename) "sitemap.org")) (sitemap-function (or (plist-get project-plist :sitemap-function) (function org-publish-org-sitemap))) (org-publish-sitemap-date-format (or (plist-get project-plist :sitemap-date-format) org-publish-sitemap-date-format)) (org-publish-sitemap-file-entry-format (or (plist-get project-plist :sitemap-file-entry-format) org-publish-sitemap-file-entry-format))) (funcall sitemap-function project sitemap-filename)))) (let ((theindex (expand-file-name "theindex.org" (plist-get project-plist :base-directory))) (exclude-regexp (plist-get project-plist :exclude))) (let ((--dolist-tail-- (org-publish-get-base-files project exclude-regexp))) (while --dolist-tail-- (let ((file (car --dolist-tail--))) (if (file-equal-p file theindex) nil (org-publish-file file project t)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (if (plist-get project-plist :makeindex) (progn (org-publish-index-generate-theindex project (plist-get project-plist :base-directory)) (org-publish-file theindex project t)))) (let ((fun (plist-get project-plist :completion-function))) (cond ((consp fun) (let ((--dolist-tail-- fun)) (while --dolist-tail-- (let (...) (funcall f project-plist) (setq --dolist-tail-- ...))))) ((functionp fun) (funcall fun project-plist)))) (org-publish-write-cache-file))
  (let ((project (car --dolist-tail--))) (let ((project-plist (cdr project))) (let ((fun (plist-get project-plist :preparation-function))) (cond ((consp fun) (let ((--dolist-tail-- fun)) (while --dolist-tail-- (let ... ... ...)))) ((functionp fun) (funcall fun project-plist)))) (org-publish-initialize-cache (car project)) (if (plist-get project-plist :auto-sitemap) (progn (let ((sitemap-filename (or ... "sitemap.org")) (sitemap-function (or ... ...)) (org-publish-sitemap-date-format (or ... org-publish-sitemap-date-format)) (org-publish-sitemap-file-entry-format (or ... org-publish-sitemap-file-entry-format))) (funcall sitemap-function project sitemap-filename)))) (let ((theindex (expand-file-name "theindex.org" (plist-get project-plist :base-directory))) (exclude-regexp (plist-get project-plist :exclude))) (let ((--dolist-tail-- (org-publish-get-base-files project exclude-regexp))) (while --dolist-tail-- (let ((file ...)) (if (file-equal-p file theindex) nil (org-publish-file file project t)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (if (plist-get project-plist :makeindex) (progn (org-publish-index-generate-theindex project (plist-get project-plist :base-directory)) (org-publish-file theindex project t)))) (let ((fun (plist-get project-plist :completion-function))) (cond ((consp fun) (let ((--dolist-tail-- fun)) (while --dolist-tail-- (let ... ... ...)))) ((functionp fun) (funcall fun project-plist)))) (org-publish-write-cache-file)) (setq --dolist-tail-- (cdr --dolist-tail--)))
  (while --dolist-tail-- (let ((project (car --dolist-tail--))) (let ((project-plist (cdr project))) (let ((fun (plist-get project-plist :preparation-function))) (cond ((consp fun) (let (...) (while --dolist-tail-- ...))) ((functionp fun) (funcall fun project-plist)))) (org-publish-initialize-cache (car project)) (if (plist-get project-plist :auto-sitemap) (progn (let ((sitemap-filename ...) (sitemap-function ...) (org-publish-sitemap-date-format ...) (org-publish-sitemap-file-entry-format ...)) (funcall sitemap-function project sitemap-filename)))) (let ((theindex (expand-file-name "theindex.org" (plist-get project-plist :base-directory))) (exclude-regexp (plist-get project-plist :exclude))) (let ((--dolist-tail-- (org-publish-get-base-files project exclude-regexp))) (while --dolist-tail-- (let (...) (if ... nil ...) (setq --dolist-tail-- ...)))) (if (plist-get project-plist :makeindex) (progn (org-publish-index-generate-theindex project (plist-get project-plist :base-directory)) (org-publish-file theindex project t)))) (let ((fun (plist-get project-plist :completion-function))) (cond ((consp fun) (let (...) (while --dolist-tail-- ...))) ((functionp fun) (funcall fun project-plist)))) (org-publish-write-cache-file)) (setq --dolist-tail-- (cdr --dolist-tail--))))
  (let ((--dolist-tail-- (org-publish-expand-projects projects))) (while --dolist-tail-- (let ((project (car --dolist-tail--))) (let ((project-plist (cdr project))) (let ((fun (plist-get project-plist :preparation-function))) (cond ((consp fun) (let ... ...)) ((functionp fun) (funcall fun project-plist)))) (org-publish-initialize-cache (car project)) (if (plist-get project-plist :auto-sitemap) (progn (let (... ... ... ...) (funcall sitemap-function project sitemap-filename)))) (let ((theindex (expand-file-name "theindex.org" ...)) (exclude-regexp (plist-get project-plist :exclude))) (let ((--dolist-tail-- ...)) (while --dolist-tail-- (let ... ... ...))) (if (plist-get project-plist :makeindex) (progn (org-publish-index-generate-theindex project ...) (org-publish-file theindex project t)))) (let ((fun (plist-get project-plist :completion-function))) (cond ((consp fun) (let ... ...)) ((functionp fun) (funcall fun project-plist)))) (org-publish-write-cache-file)) (setq --dolist-tail-- (cdr --dolist-tail--)))))
  org-publish-projects((("spacemacs" :components ("spacemacs-news" "spacemacs-doc" "spacemacs-doc-static" "layers-doc" "layers-doc-static"))))
  (let ((org-publish-use-timestamps-flag (and (not force) org-publish-use-timestamps-flag))) (org-publish-projects (list project)))
  (progn (let ((org-publish-use-timestamps-flag (and (not force) org-publish-use-timestamps-flag))) (org-publish-projects (list project))))
  (unwind-protect (progn (let ((org-publish-use-timestamps-flag (and (not force) org-publish-use-timestamps-flag))) (org-publish-projects (list project)))) (set-window-configuration wconfig))
  (let ((wconfig (current-window-configuration))) (unwind-protect (progn (let ((org-publish-use-timestamps-flag (and (not force) org-publish-use-timestamps-flag))) (org-publish-projects (list project)))) (set-window-configuration wconfig)))
  (cond ((not project)) (async (let ((with-temp-message "Initializing asynchronous export process") (current-message)) (unwind-protect (progn (if with-temp-message (progn (setq current-message ...) (message "%s" with-temp-message))) (let ((--copy-fun ...) (--temp-file ...) (--coding buffer-file-coding-system)) (let (... ...) (unwind-protect ... ...)) (let* (... ... ...) (org-export-add-to-stack ... nil --process) (let ... ...)))) (and with-temp-message (if current-message (message "%s" current-message) (message nil)))))) (t (let ((wconfig (current-window-configuration))) (unwind-protect (progn (let ((org-publish-use-timestamps-flag ...)) (org-publish-projects (list project)))) (set-window-configuration wconfig)))))
  (let ((project (if (not (stringp project)) project (assoc project org-publish-project-alist)))) (cond ((not project)) (async (let ((with-temp-message "Initializing asynchronous export process") (current-message)) (unwind-protect (progn (if with-temp-message (progn ... ...)) (let (... ... ...) (let ... ...) (let* ... ... ...))) (and with-temp-message (if current-message (message "%s" current-message) (message nil)))))) (t (let ((wconfig (current-window-configuration))) (unwind-protect (progn (let (...) (org-publish-projects ...))) (set-window-configuration wconfig))))))
  org-publish-project("spacemacs")
  (let* ((header "<link rel=\"stylesheet\" type=\"text/css\"\n                 href=\"http://www.pirilampo.org/styles/readtheorg/css/htmlize.css\"/>\n          <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\"></script>\n          <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js\"></script>\n          <script src=\"http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js\"></script>\n          <script>\n          // Google Analytics\n                     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n                         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new\n                         Date();a=s.createElement(o),\n                         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n                         })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n                     ga('create', 'UA-28326243-2', 'auto'); ga('send', 'pageview');\n\n          // Add permalinks to the documentation headings\n          $(document).ready(function() {\n              [\".outline-2 h2\", \".outline-3 h3\", \".outline-4 h4\", \".outline-5 h5\"].forEach(function(i) {\n                  $(i).each(function() {\n                          var page_url = window.location.pathname;\n                          var node = $(this).attr(\"id\");\n                          var full_url = page_url + \"#\" + node;\n                          $(this).contents().last().after('<span id=\"permalink\"><a href=\"'\n                                                          + full_url + '\">¶</a></span>');\n                  });\n              });\n          });\n          </script>") (publish-target (concat spacemacs-start-directory "export/")) (org-html-htmlize-output-type (quote css)) (org-publish-project-alist (list (quote ("spacemacs" :components ("spacemacs-news" "spacemacs-doc" "spacemacs-doc-static" "layers-doc" "layers-doc-static"))) (list "spacemacs-news" (quote :base-directory) spacemacs-news-directory (quote :base-extension) "org" (quote :publishing-directory) (concat publish-target "news/") (quote :publishing-function) (quote org-html-publish-to-html) (quote :headline-levels) 4 (quote :html-head) header) (list "spacemacs-doc" (quote :base-directory) spacemacs-docs-directory (quote :base-extension) "org" (quote :publishing-directory) (concat publish-target "doc/") (quote :publishing-function) (quote org-html-publish-to-html) (quote :preparation-function) (quote spacemacs//fetch-docs-from-root) (quote :completion-function) (quote spacemacs//copy-fetched-docs-html-to-pub-root) (quote :headline-levels) 4 (quote :html-head) header) (list "layers-doc" (quote :base-directory) (concat spacemacs-start-directory "layers/") (quote :base-extension) "org" (quote :recursive) t (quote :publishing-directory) (concat publish-target "layers/") (quote :publishing-function) (quote org-html-publish-to-html) (quote :preparation-function) (quote spacemacs/generate-layers-file) (quote :exclude) "local\\|dockerfiles" (quote :html-head) header) (cons "spacemacs-doc-static" (cons (quote :base-directory) (cons spacemacs-docs-directory (cons ... ...)))) (cons "layers-doc-static" (cons (quote :base-directory) (cons (concat spacemacs-start-directory "layers/") (cons ... ...))))))) (org-publish-project "spacemacs"))
  spacemacs/publish-doc()
  funcall-interactively(spacemacs/publish-doc)
  call-interactively(spacemacs/publish-doc record nil)
  command-execute(spacemacs/publish-doc record)
  helm-M-x(nil #("spacemacs/publish-doc" 0 21 (match-part "spacemacs/publish-doc")))
  funcall-interactively(helm-M-x nil #("spacemacs/publish-doc" 0 21 (match-part "spacemacs/publish-doc")))
  call-interactively(helm-M-x nil nil)
  command-execute(helm-M-x)
JAremko commented 6 years ago

@smile13241324 can you try with this config? We are using it in CI to generate html docs.

smile13241324 commented 6 years ago

@JAremko I have tried it with the travis config and then it works. So I think this is no real issue.