Fix css links and various org links
This commit is contained in:
parent
4ca9dd3c36
commit
94205a3e81
|
@ -69,12 +69,17 @@
|
|||
(defun spacemacs//copy-fetched-docs-html-to-pub-root (project-plist)
|
||||
"Move CONTRIBUTING.html and COMMUNITY.html to `publish-target'.
|
||||
See `spacemacs//fetch-docs-from-root'"
|
||||
(f-move (concat (plist-get project-plist :publishing-directory)
|
||||
"CONTRIBUTING.html")
|
||||
(concat publish-target "CONTRIBUTING.html"))
|
||||
(f-move (concat (plist-get project-plist :publishing-directory)
|
||||
"COMMUNITY.html")
|
||||
(concat publish-target "COMMUNITY.html")))
|
||||
(dolist (file-name '("CONTRIBUTING.html" "COMMUNITY.html"))
|
||||
(let ((file-to-move (concat (plist-get project-plist
|
||||
:publishing-directory)
|
||||
file-name)))
|
||||
(with-temp-file file-to-move
|
||||
(insert-file-contents file-to-move)
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "^.*href=\"\\(.+\\)css/readtheorg\.css\".*$" nil t)
|
||||
(replace-match "" nil t nil 1)))
|
||||
(f-move file-to-move
|
||||
(concat publish-target file-name)))))
|
||||
|
||||
(defun spacemacs/generate-layers-file (project-plist)
|
||||
"Generate the layers list file."
|
||||
|
|
|
@ -3005,7 +3005,7 @@ The key bindings start with ~SPC x r~ and have the following mnemonic structure:
|
|||
*** Deleting files
|
||||
Deletion is configured to send deleted files to system trash.
|
||||
|
||||
On OS X the =trash= program is required. It can be installed with [[http:www.brew.sh][homebrew]] with
|
||||
On OS X the =trash= program is required. It can be installed with [[http://www.brew.sh][homebrew]] with
|
||||
the following command:
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
|
|
|
@ -334,7 +334,7 @@ looks like this:
|
|||
#+END_EXAMPLE
|
||||
|
||||
The =packages.el= file contains a list of packages that you can install in the
|
||||
variable =<layer-name>-packages=. Any package that is available on the [[http:melpa.org][MELPA]]
|
||||
variable =<layer-name>-packages=. Any package that is available on the [[http://melpa.org][MELPA]]
|
||||
repository can be added to the list. A list can also exclude packages using the
|
||||
=:excluded t= property.
|
||||
Each package requires a function to initialize it. The function /must/ be named
|
||||
|
|
|
@ -52,7 +52,7 @@ with GUI support on all major platforms and even [[https://i.imgur.com/wDLDMZN.g
|
|||
|
||||
* How to setup
|
||||
The idea is to build your own image [[https://docs.docker.com/engine/reference/builder/#from][FROM]] the one of the provided base images
|
||||
([[file:../../../Dockerfile.emacs25][spacemacs/emacs25]] and [[file:../../../Dockerfile.snapshot][spacemacs/emacs-snapshot]]). Get [[https://docs.docker.com/engine/installation][docker]] for the OS of
|
||||
([[https://goo.gl/Rb2Als][spacemacs/emacs25]] and [[https://goo.gl/DFSenZ][spacemacs/emacs-snapshot]]). Get [[https://docs.docker.com/engine/installation][docker]] for the OS of
|
||||
the machine that will run development environment and then use
|
||||
[[https://github.com/JAremko/spacemacs-docker-seed][spacemacs-docker-seed]] as an example to create [[https://docs.docker.com/docker-hub/builds/][automated builds on Docker Hub]] or
|
||||
[[https://docs.docker.com/engine/reference/commandline/build/][build it locally]].
|
||||
|
|
|
@ -51,7 +51,7 @@ This layer enables [[http://orgmode.org/][org mode]] for Spacemacs.
|
|||
|
||||
** BibTeX
|
||||
For more extensive support of references through BibTeX files, have a look at
|
||||
the [[../../+lang/bibtex][BibTeX layer]].
|
||||
the [[../../+lang/bibtex/README.org][BibTeX layer]].
|
||||
|
||||
** Important Note
|
||||
Since version 0.104, spacemacs uses the =org= version from the org ELPA
|
||||
|
|
|
@ -28,7 +28,7 @@ This layer adds support for LaTeX files with [[https://savannah.gnu.org/projects
|
|||
|
||||
** BibTeX
|
||||
For more extensive support of BibTeX files than RefTeX provides, have a look at
|
||||
the [[../bibtex][BibTeX layer]].
|
||||
the [[../bibtex/README.org][BibTeX layer]].
|
||||
|
||||
* Install
|
||||
** Layer
|
||||
|
|
|
@ -35,7 +35,7 @@ This layer adds markdown support to Spacemacs.
|
|||
|
||||
** BibTeX
|
||||
For more extensive support of references with BibTeX files, have a look at the
|
||||
[[../bibtex][BibTeX layer]].
|
||||
[[../bibtex/README.org][BibTeX layer]].
|
||||
|
||||
* Install
|
||||
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
|
||||
|
|
Loading…
Reference in New Issue