Commit graph

17 commits

Author SHA1 Message Date
syl20bnr cbb61070fd Replace some emacs-user-directory vars and update documentation 2016-06-23 00:25:04 -04:00
Exaos-memes 904f7ea665 Define new variable: spacemacs-start-directory.
With this new variable, user can load spacemacs anywhere, e.g.
"~/.emacs.d/spacemacs/". Only user's cache directory is still hard-coded
as "~/.emacs.d/.cache/". If user want to use spacemacs this way, drop
one line as the below in "~/.emacs.d/init.el":

    (setq spacemacs-start-directory "~/.emacs.d/spacemacs/")
    (load-file (concat spacemacs-start-directory "init.el"))
2016-06-23 00:19:34 -04:00
JAremko d776ee60b7 Make export to html compatible with GitHub and toc-org
Add new html preprocessors to the org-html-publish-to-html pipeline:
- `spacemacs//toc-org-unhrefify-toc`
- remove the `toc-org` modifications for the TOC
- `spacemacs//org-heading-annotate-custom-id`
- annotate org headings with the indexes that GitHub uses for linking.
  `org-html-publish-to-html` will use them instead of the default
  `#orgheadline{N}`. This way the GitHub links and the
  http://spacemacs.org/ links will be compatible."
- `spacemacs//reroot-links`
- find the links that start with
  https://github.com/syl20bnr/spacemacs/blob/ and end with
  .org{#an-optional-heading-link} (i.e the links between the local org
  files). Change their root to http://spacemacs.org/ so the links will
  point at files located on the site.

*For the "file to file" links to work properly the expor
2016-03-30 22:29:00 -04:00
JAremko b2aadd06a3 Insert the readtheorg.css links wth html export advice
It removes the need to clutter Spacemacs documentation with
Also it reduces the amount of bugs, because it's hard to get the path right.
2016-03-30 22:28:27 -04:00
JAremko 0557087406 Remove query.stickytableheaders.js (error 404) 2016-03-30 22:28:19 -04:00
JAremko 84370154a2 fix typo 2016-03-30 22:28:11 -04:00
syl20bnr ad2d0b18d0 core: remove General layers section
Since it is empty right now.
2016-03-30 17:51:16 -04:00
syl20bnr 9d0558992c layers directory: create new categories
+chat
+checkers
+emacs
+intl
+os
+pair-programming
+tags
+theme
+web-services
2016-03-23 21:39:43 -04:00
syl20bnr 7f50c16566 core: add google analytics support for website pages 2016-03-12 13:51:25 -05:00
Xue Fuqiao a0d33123e5 Update layers/LAYERS.org
Languages like HTML, LaTeX, and Markdown are markup languages.
2016-02-07 14:28:07 +01:00
syl20bnr 33ead6fc42 Deprecation of extensions and <pkg>-excluded-packages variables
As announced in previous releases, see CHANGELOG.next for more info
in the Breaking Changes section.
2016-01-17 22:06:04 -05:00
syl20bnr 046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
Eivind Fonn c893383fe4 Fix some documentation bugs
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00
Travis B. Hartwell 1ed7658f0f Generate necessary HTML for the Spacemacs docs.
Since there is not an easy way to hook into the title or table of
contents generation, use advising functions to post-process the output
of `org-html-toc' and `org-html-template' to insert the desired content.
Would like a cleaner way of doing this.
2015-11-23 13:44:32 +01:00
Eivind Fonn c3866382b2 Documentation update
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00
Eivind Fonn 212389b24d Fix doc publishing code
- Fix wrong function names and variables
- Move export folder out of source tree, so we don't export the exports
- Add jpg to source image files
2015-11-02 22:30:44 +01:00
Eivind Fonn 1070d4b56a Set up documentation publishing 2015-11-01 23:40:36 -05:00