Skip to content

Commit 13c5b1d

Browse files
TheBBsyl20bnr
authored andcommitted
Convert documentation to publishable format
1 parent 9c7c148 commit 13c5b1d

File tree

111 files changed

+1768
-1860
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+1768
-1860
lines changed

doc/CONTRIBUTE.org

+29-30
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
1-
* Contribute to Spacemacs
2-
3-
** Table of Contents :TOC@4:
4-
- [[#contribute-to-spacemacs][Contribute to Spacemacs]]
5-
- [[#pull-request-guidelines][Pull Request Guidelines]]
6-
- [[#ideally-and-for-simple-prs][Ideally and for /simple/ PRs:]]
7-
- [[#for-complex-pull-requests][For complex pull requests:]]
8-
- [[#getting-help][Getting Help]]
9-
- [[#submitting-a-configuration-layer][Submitting a configuration layer]]
10-
- [[#testing][Testing]]
11-
- [[#submitting-a-banner][Submitting a banner]]
12-
- [[#credits][Credits]]
13-
- [[#license][License]]
14-
- [[#file-header][File header]]
15-
- [[#author-of-a-contribution-layer][Author of a contribution layer]]
16-
- [[#contributor-of-a-contribution-layer][Contributor of a contribution layer]]
17-
18-
** Pull Request Guidelines
1+
#+SETUPFILE: theme-readtheorg.setup
2+
3+
* Contribute to Spacemacs :TOC_4_org:noexport:
4+
- [[Pull Request Guidelines][Pull Request Guidelines]]
5+
- [[Ideally and for /simple/ PRs:][Ideally and for /simple/ PRs:]]
6+
- [[For complex pull requests:][For complex pull requests:]]
7+
- [[Getting Help][Getting Help]]
8+
- [[Submitting a configuration layer][Submitting a configuration layer]]
9+
- [[Testing][Testing]]
10+
- [[Submitting a banner][Submitting a banner]]
11+
- [[Credits][Credits]]
12+
- [[License][License]]
13+
- [[File header][File header]]
14+
- [[Author of a contribution layer][Author of a contribution layer]]
15+
- [[Contributor of a contribution layer][Contributor of a contribution layer]]
16+
17+
* Pull Request Guidelines
1918
Spacemacs branch model is inspired from the [[http://nvie.com/posts/a-successful-git-branching-model/][git-flow]] model:
2019
You'll have to submit your contributions and fixes within a pull-request to
2120
apply against the =develop= branch.
2221

2322
/PR = pull request/
2423

25-
*** Ideally and for /simple/ PRs:
24+
** Ideally and for /simple/ PRs:
2625
- branch from =develop=
2726
- one topic per PR
2827
- one commit per PR
@@ -35,19 +34,19 @@ apply against the =develop= branch.
3534
Those PRs are /fast-forwarded/ whenever it's possible and
3635
/cherry-picked/ otherwise (most likely they will be cherry-picked).
3736

38-
*** For complex pull requests:
37+
** For complex pull requests:
3938
- squash only the commits with uninteresting changes like typos, syntax
4039
fixes, etc... and keep the important and /isolated/ steps in
4140
different commits.
4241

4342
Those PRs are /merged/ and explicitly /not fast-forwarded/.
4443

45-
*** Getting Help
44+
** Getting Help
4645
If you have any question on this process, join the [[https://gitter.im/syl20bnr/spacemacs][gitter
4746
chatroom]] and ask your questions there. It will be a pleasure to help you to
4847
contribute!
4948

50-
** Submitting a configuration layer
49+
* Submitting a configuration layer
5150
Contributed configuration layers are stored in the =layers= folder. The
5251
=layers= folder also contains categories prefixed with =+= to put your
5352
layers in. For example a layer for a language would go in the
@@ -62,9 +61,9 @@ It is recommended to join a =README.org= file with your layer:
6261
- if a logo exists for the layer you can add it at the top of the =README.org=
6362
before the TOC. The maximum recommended height is 200 pixels.
6463

65-
Please read the [[LAYERS.org][tips for writing layers]] first.
64+
Please read the [[file:LAYERS.org][tips for writing layers]] first.
6665

67-
** Testing
66+
* Testing
6867
Tests live in the =tests= folder, with a folder structure corresponding to the
6968
rest of the repository.
7069

@@ -104,7 +103,7 @@ To add tests for a layer, do the following:
104103

105104
Spacemacs is lacking tests, so contributions are welcome.
106105

107-
** Submitting a banner
106+
* Submitting a banner
108107
The startup banner is by default randomly chosen among a pool of banners
109108
each time Spacemacs starts. Banners are located in directory
110109
=~/.emacs.d/core/banners=.
@@ -114,16 +113,16 @@ If you have some ASCII skills you can submit your artwork!
114113
You are free to choose a reasonable height size but the width size
115114
should be around 75 characters.
116115

117-
** Credits
118-
*** License
116+
* Credits
117+
** License
119118
The license is GPLv3 for all parts specific to Spacemacs, this
120119
includes: - the initialization and core files - all the layer files.
121120

122121
For files not belonging to Spacemacs like extensions and libraries,
123122
refer to the header file. Those files should not have an empty header,
124123
please report any file imported in Spacemacs without a proper header.
125124

126-
*** File header
125+
** File header
127126
Template:
128127

129128
#+BEGIN_EXAMPLE
@@ -140,14 +139,14 @@ Template:
140139
;;; License: GPLv3
141140
#+END_EXAMPLE
142141

143-
*** Author of a contribution layer
142+
** Author of a contribution layer
144143
In the file header: - change =NAME= to the name of the layer, - change
145144
the default author name =Sylvain Benner= to your name, - do not remove
146145
the line: =;; Copyright (c) 2012-2014 Sylvain Benner= - modify the
147146
second copyright line by replacing the default name and dates, *keep*
148147
=& Contributors= in this line, - other lines should not be modified
149148

150-
*** Contributor of a contribution layer
149+
** Contributor of a contribution layer
151150
You should not modify any header file. A very cool way to show your
152151
contributions will be available in Spacemacs at some point, /Stay
153152
Tuned/.

0 commit comments

Comments
 (0)