aboutsummaryrefslogtreecommitdiff
path: root/docs.el
blob: d6d53ff25b3d94165442aae7c321d1b42deacb30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
;;; docs.el --- configuration for docs exports
;;; Commentary:
;;; Code:
(require 'org)
(require 'ox)
(require 'ox-ascii)

;; We do NOT want backup files.
(setq make-backup-files nil)

(defun docs-install-txt ()
  "Extract and export installation manual from the User Manual."
  (let ((org-export-with-toc nil))
    (re-search-forward "^* Installation")
    (org-ascii-export-to-ascii nil t)))

(provide 'docs)
;;; docs.el ends here