Convert DOCUMENTATION.md to org.

This commit is contained in:
person808 2015-06-10 19:00:54 -10:00 committed by syl20bnr
parent 48ff6550db
commit 3ed0087cce
4 changed files with 2489 additions and 2697 deletions

View File

@ -420,7 +420,7 @@ HPADDING is the horizontal spacing betwee the content line and the frame border.
:help-echo "Open the Spacemacs documentation in your browser." :help-echo "Open the Spacemacs documentation in your browser."
:mouse-face 'highlight :mouse-face 'highlight
:follow-link "\C-m" :follow-link "\C-m"
"https://github.com/syl20bnr/spacemacs/blob/master/doc/DOCUMENTATION.md") "https://github.com/syl20bnr/spacemacs/blob/master/doc/DOCUMENTATION.org")
(insert " ") (insert " ")
(widget-create 'url-link (widget-create 'url-link
:tag (propertize "Gitter Chat" 'face 'font-lock-keyword-face) :tag (propertize "Gitter Chat" 'face 'font-lock-keyword-face)

File diff suppressed because it is too large Load Diff

2481
doc/DOCUMENTATION.org Normal file

File diff suppressed because it is too large Load Diff

View File

@ -94,20 +94,20 @@
(when (or (equal file-extension "md") (when (or (equal file-extension "md")
(equal file-extension "org")) (equal file-extension "org"))
(push (f-relative file-path spacemacs-docs-directory) result))) (push (f-relative file-path spacemacs-docs-directory) result)))
;; delete DOCUMENTATION.md to make it the first guide ;; delete DOCUMENTATION.org to make it the first guide
(delete "DOCUMENTATION.md" result) (delete "DOCUMENTATION.org" result)
(push "DOCUMENTATION.md" result) (push "DOCUMENTATION.org" result)
;; give each document an appropriate title ;; give each document an appropriate title
(mapcar (lambda (r) (mapcar (lambda (r)
(cond (cond
((string-equal r "CONTRIBUTE.md") ((string-equal r "CONTRIBUTE.org")
`("How to contribute to Spacemacs" . ,r)) `("How to contribute to Spacemacs" . ,r))
((string-equal r "CONVENTIONS.md") ((string-equal r "CONVENTIONS.org")
`("Spacemacs conventions" . ,r)) `("Spacemacs conventions" . ,r))
((string-equal r "DOCUMENTATION.md") ((string-equal r "DOCUMENTATION.org")
`("Spacemacs starter guide" . ,r)) `("Spacemacs starter guide" . ,r))
((string-equal r "HOWTOs.md") ((string-equal r "HOWTOs.org")
`("Quick HOW-TOs for Spacemacs" . ,r)) `("Quick HOW-TOs for Spacemacs" . ,r))
((string-equal r "VIMUSERS.org") ((string-equal r "VIMUSERS.org")
`("Vim users migration guide" . ,r)) `("Vim users migration guide" . ,r))