aboutsummaryrefslogtreecommitdiff
path: root/docs.el
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-22 15:51:18 +0300
committerCem Keylan <cem@ckyln.com>2021-07-22 15:51:18 +0300
commit340c2a937273507b7e8961ece9c6412e95e7f034 (patch)
tree20b062478f0832e72a34eac11b5ff4c76db29e89 /docs.el
parent30c0c11f5e8da2306970477630a97c472dd7941b (diff)
downloaddocs-340c2a937273507b7e8961ece9c6412e95e7f034.tar.gz
docs: update
Diffstat (limited to 'docs.el')
-rw-r--r--docs.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs.el b/docs.el
index d6d53ff..d3838e8 100644
--- a/docs.el
+++ b/docs.el
@@ -14,5 +14,11 @@
(re-search-forward "^* Installation")
(org-ascii-export-to-ascii nil t)))
+(defun docs-install-org ()
+ "Extract and export installation manual as an org file from the User Manual."
+ (let ((org-export-with-toc nil))
+ (re-search-forward "^* Installation")
+ (org-org-export-to-org nil t)))
+
(provide 'docs)
;;; docs.el ends here