Commit Graph

56 Commits

Author SHA1 Message Date
Maxi Wolff 025e9f7e32 Fix broken format statement in doc generation 2022-12-31 13:28:25 +01:00
Maxi Wolff 7795337a5e Fix links to obsolete http://spacemacs.org
they should all point to https://develop.spacemacs.org
instead.

I have also removed the warning from the
develop documentation as this is now the recommended
branch.
2022-12-31 12:43:08 +01:00
Jonas Jelten 32b35b6325 [doc] remove user tracking with google analytics 2022-11-26 07:09:05 +01:00
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
Eugene Yaremenko 350953e093
[doc] remove lexical binding from export script 2022-05-24 13:51:13 +02:00
Thanh dd1e077c5d [core] enable lexical binding for all 2022-05-11 19:48:17 +02:00
JAremko 1a4912e51f [ci] better error handling in html export 2021-11-15 08:08:16 +02:00
JAremko 089ca14331 [ci] Actually fix html export 2021-11-15 02:13:00 +02:00
JAremko 2dded3117a [ci] pre-create the missing dir 2021-11-14 19:51:47 +02:00
JAremko c9917ea541 [ci] fix html export 2021-11-14 19:36:43 +02:00
Eugene Yaremenko 1582413370
[ci] Disable org-mode hooks while exporting html 2021-10-24 16:39:38 +03:00
Maxi Wolff 8e5b4c7ec3
[core] Reformat core-documentation.el 2021-09-10 21:07:22 +02:00
Evelyn Liang 785035cc28
Warn user they are reading develop docs (#14136)
* Warn user they are reading develop docs

Draft commit, definitely still needs work.

The intent is to let users know they are reading documentation that might not
apply to their version of spacemacs. The default install is based on master,
but the docs for both master and develop show up in search engine results.

Currently the only way to see that you are reading the develop docs is by
looking at the subdomain. You'd also need to know that a non-develop website
exists, which is not obvious.

* Use real redirect link back to non-develop docs

Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2021-09-10 21:04:23 +02:00
syl20bnr 97cd83e169 Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
syl20bnr d55a9e2e67 Update header for year 2021 2021-03-25 22:59:32 -04:00
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
JAremko 1554873414 fix links 2019-05-18 13:25:44 +03:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
JAremko c7f139e2dc Fiddle with layers.org TOC generation. 2019-01-13 21:48:43 +02:00
JAremko b6949a329e Fix typo 2019-01-13 20:35:45 +02:00
JAremko 19502ec517 Update layers.org generation 2019-01-13 20:27:35 +02:00
syl20bnr 326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
JAremko c9b668ed30 QF current export with relocate files 2017-08-03 10:23:53 +03:00
JAremko e425d50292 don't reroot non-org files
We don't have all Spacemacs files at spacemacs.org so we
shouldn't change links to such files to relative ones.
2017-05-28 04:09:29 +03:00
JAremko 26eb3ff1df Rework `spacemacs//reroot-link` (now it makes links relative) 2017-05-28 02:35:13 +03:00
JAremko 86f4278d4c core: inline permalinks in documentation 2017-05-14 12:49:23 -04:00
JAremko 94205a3e81 Fix css links and various org links 2017-04-29 10:45:52 -04:00
nashamri f1701ed490 Add permalinks to the doc headings 2017-04-29 10:44:27 -04:00
JAremko edc24ef750 MV CONTRIBUTING & COMMUNITY to the root after pub 2017-04-28 23:29:43 -04:00
JAremko 84715966ad Fixes syl20bnr/develop.spacemacs.org#10 2017-04-28 23:25:02 -04:00
JAremko fed4a44189 do not annotate HLines with :PROPERTIES: 2017-04-19 23:00:00 -04:00
JAremko 8f982e945c Fix CI 2017-04-19 23:00:00 -04:00
JAremko 798561befa make spacemacs/publish-doc less verbose 2017-04-19 23:00:00 -04:00
syl20bnr 462f74e7fa doc: Rename copied file CONTRIBUTE.org to CONTRIBUTING.org
Instead we can fix the bad link directly in index.html of the website repo.
2017-04-17 18:05:35 -04:00
smile13241324 c3c2970a50 Fix broken links to missing README files in layers list to fix #8291
Some of the layers do not supply a README.org file which caused
invalid links in the layer list. To avoid this I have changed
spacemacs//generate-layers-from-path to only add links to layers
with a valid README.org file.

I have also removed an invalid check to exclude the non existing directory
"distribution" from the layers list. I think that originally the folder
"distributions" should have been excluded but this is not longer
a feasible action as there is at least one layer with a valid README.org
file in there today. So now we add links to all layers providing a
README.org file independent of their category.
2017-04-17 17:58:02 -04:00
smile13241324 092f98f51c Fix broken link to CONTRIBUTE.org in documentation to fix #8290
In 2015 a file CONTRIBUTE.org was existing in the /doc folder.
In addition a CONTRIBUTING.md file was existing in the project root folder.
This was merged into a CONTRIBUTING.org file, which is still located in the project root.
However the documentation publishing system was still looking only in the doc folder.
In addition the external documentation is still referring to the old CONTRIBUTE.html which is not longer existing.

I have now included a new function called prior to publishing
which is copying the documents from the projects root into the doc folder.
As a side effect it renames the CONTRIBUTING.org to the old CONTRIBUTE.org
to support the external documentation.
2017-04-17 17:54:42 -04:00
syl20bnr c66f13b7cb core: fix preparation-function signature in publish-doc and exclude dockerfiles
Also respect 80 chars per lines a various places
2017-01-12 23:19:53 -05:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
syl20bnr fcfae43ddc Add newsletter 01 2016-10-03 00:23:15 -04:00
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