Skip to content

Commit 4925cb3

Browse files
committed
fixing variables, nav work
1 parent 4755a1a commit 4925cb3

File tree

172 files changed

+762
-929
lines changed

Some content is hidden

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

172 files changed

+762
-929
lines changed

CODE_OF_CONDUCT.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
:rootDir: ./
22
:partialsDir: {rootDir}partials/
33
:imagesDir: {rootDir}images/
4-
include::{rootDir}_attributes.adoc[]
54
= Contributor Covenant Code of Conduct
65

76
[[our-pledge]]
8-
== Our Pledge
7+
== Our Pledge
98
anchor:ourpledge[historical anchor]
109

1110
In the interest of fostering an open and welcoming environment, we as
@@ -16,7 +15,7 @@ level of experience, education, socio-economic status, nationality, personal
1615
appearance, race, religion, or sexual identity and orientation.
1716

1817
[[our-standards]]
19-
== Our Standards
18+
== Our Standards
2019
anchor:ourstandards[historical anchor]
2120

2221
Examples of behavior that contributes to creating a positive environment
@@ -40,7 +39,7 @@ Examples of unacceptable behavior by participants include:
4039
professional setting
4140

4241
[[our-responsibilities]]
43-
== Our Responsibilities
42+
== Our Responsibilities
4443
anchor:ourresponsibilities[historical anchor]
4544

4645
Project maintainers are responsible for clarifying the standards of acceptable

CONTRIBUTING.adoc

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
:rootDir: ./
22
:partialsDir: {rootDir}partials/
33
:imagesDir: {rootDir}images/
4-
include::{rootDir}_attributes.adoc[]
54
= Contributing to the TinyMCE developer documentation
65

76
This page outlines how you can provide feedback and contribute to TinyMCE documentation.
87

98
[[contributor-code-of-conduct]]
10-
== Contributor Code of Conduct
9+
== Contributor Code of Conduct
1110
anchor:contributorcodeofconduct[historical anchor]
1211

1312
For our Contributor Code of Conduct, visit our https://github.com/tinymce/tinymce-docs-4x/blob/develop/CODE_OF_CONDUCT.md#contributor-covenant-code-of-conduct[Contributor Covenant Code of Conduct on GitHub].
1413

1514
[[how-to-contribute-to-tinymces-documentation]]
16-
== How to contribute to TinyMCE's documentation
15+
== How to contribute to TinyMCE's documentation
1716
anchor:howtocontributetotinymcesdocumentation[historical anchor]
1817

1918
We welcome people with technical writing experience to help make TinyMCE's docs as useful to our community as possible. Although you don't need to be an expert developer to contribute, a basic understanding of software development is helpful.
@@ -23,13 +22,13 @@ What is more important is your ability to articulate complex ideas. Our goal is
2322
Simply branch the https://github.com/tinymce/tinymce-docs-4x[docs GitHub repository] and submit a PR, or reach out to the https://github.com/tinymce/tinymce-docs-4x/issues/new?assignees=&labels=question&template=question.md[TinyMCE docs team] if you have a specific question.
2423

2524
[[tinymce-documentation-tech-stack]]
26-
== TinyMCE documentation tech stack
25+
== TinyMCE documentation tech stack
2726
anchor:tinymcedocumentationtechstack[historical anchor]
2827

2928
The documentation is built with Jekyll. Text files are written in https://kramdown.gettalong.org/[kramdown] and published on https://github.com/tinymce/tinymce-docs-4x[GitHub]. You will find the https://github.com/tinymce/tinymce-docs-4x[repo here].
3029

3130
[[markdown--code-syntax]]
32-
== Markdown & code syntax
31+
== Markdown & code syntax
3332
anchor:markdowncodesyntax[historical anchor]
3433

3534
The documentation is written in https://kramdown.gettalong.org/[kramdown Flavored Markdown]. If you are not familiar with kramdown https://kramdown.gettalong.org/quickref.html[read this].
@@ -42,7 +41,7 @@ Code language syntax and associated elements are highlighted using an open and c
4241
Highlight words relating specifically to executable parts of software languages. Keys and their values when pertaining to objects and methods (particularly the case with TinyMCE) should have backticks. We cannot cover every use case here and contributors need to use their best judgment. What is more important is your ability to articulate complex ideas.
4342

4443
[[code-snippets]]
45-
=== Code snippets
44+
=== Code snippets
4645
anchor:codesnippets[historical anchor]
4746

4847
Code snippets should always be complete, executable code blocks starting with the `tinymce` object. We write code snippets by enclosing the example code within three opening and closing backticks. The first set of backticks is immediately followed by the code's language, which helps correct syntax highlighting: typically, html, css, js (and sometimes php).
@@ -71,7 +70,7 @@ tinymce.init({
7170
----
7271

7372
[[urls-and-links]]
74-
=== URLs and links
73+
=== URLs and links
7574
anchor:urlsandlinks[historical anchor]
7675

7776
Resources to be linked take the form of placing the linked text between brackets and the URL between parenthesis. Linking an external resource looks like this:
@@ -94,7 +93,7 @@ There are several options for this include file - please see `_includes/codepen.
9493
The source for each CodePen is store in the `_includes/codepens/` directory.
9594

9695
[[adding-metadata-to-a-page]]
97-
=== Adding metadata to a page
96+
=== Adding metadata to a page
9897
anchor:addingmetadatatoapage[historical anchor]
9998

10099
Every page should have a meta section starting at line 1 containing information that is both informative and system critical. If you are creating a page or editing one that currently has inadequate meta information, please read the comments next to the default meta fields below.
@@ -111,17 +110,17 @@ keywords: // Space-separated list of keywords in the content.
111110
----
112111

113112
[[style-guide]]
114-
== Style Guide
113+
== Style Guide
115114
anchor:styleguide[historical anchor]
116115

117116
[[tinymce-v-tinymce]]
118-
=== TinyMCE v. tinymce
117+
=== TinyMCE v. tinymce
119118
anchor:tinymcevtinymce[historical anchor]
120119

121120
Use the capitalized version of TinyMCE when referring to the open source project or the editor. Use lowercase when referring to the `tinymce` JavaScript object.
122121

123122
[[title-capitalization]]
124-
=== Title capitalization
123+
=== Title capitalization
125124
anchor:titlecapitalization[historical anchor]
126125

127126
For titles use "Sentence case capitalization". Sentence case capitalization is more comfortable to read in technical documentation.
@@ -132,15 +131,15 @@ For titles use "Sentence case capitalization". Sentence case capitalization is m
132131
Use United States English. For example, behavior rather than behaviour, and canceled rather than cancelled.
133132

134133
[[proper-names]]
135-
=== Proper names
134+
=== Proper names
136135
anchor:propernames[historical anchor]
137136

138137
When referring to the name of a development language we use the proper name or, where appropriate, the industry convention. For example, HTML, CSS, JavaScript, jQuery, React, AngularJS (not HTML, css, Jquery or React-js.)
139138

140139
The exception to this rule is when we are talking about the code itself (see the note above about TinyMCE v. tinymce). For example, write "HTML is great" when talking about the HTML language, but write, "escape your ``html``" when talking about action with or within a codebase.
141140

142141
[[active-voice-v-passive-voice]]
143-
=== Active voice v. Passive voice
142+
=== Active voice v. Passive voice
144143
anchor:activevoicevpassivevoice[historical anchor]
145144

146145
Use https://www.grammarly.com/blog/active-vs-passive-voice/[active voice]. Passive voice decreases readability and comprehension.
@@ -156,13 +155,13 @@ Avoid https://dictionary.cambridge.org/dictionary/english/adverb[adverbs], such
156155
Avoid https://dictionary.cambridge.org/dictionary/english/pronoun[pronouns], such as: _we_, _you_, or _I_.
157156

158157
[[first-second-or-third-person-perspective]]
159-
=== First, Second, or Third Person Perspective
158+
=== First, Second, or Third Person Perspective
160159
anchor:firstsecondorthirdpersonperspective[historical anchor]
161160

162161
Write in a https://www.grammarly.com/blog/first-second-and-third-person/[third person perspective], such as: _He_, _she_, _they_, or _them_.
163162

164163
[[keep-it-simple]]
165-
=== Keep it simple
164+
=== Keep it simple
166165
anchor:keepitsimple[historical anchor]
167166

168167
Use short, simple words where possible. Use formal language, do not use: slang, acronyms, initialisms, abbreviations, and https://docs.microsoft.com/en-us/style-guide/word-choice/use-contractions[ambiguous contractions (such as _there'd_, or _it'll_)].

README.adoc

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
:rootDir: ./
22
:partialsDir: {rootDir}partials/
33
:imagesDir: {rootDir}images/
4-
include::{rootDir}_attributes.adoc[]
54
= TinyMCE Documentation
65
:pp: {plus}{plus}
76

@@ -14,7 +13,7 @@ agreement, which will be emailed to you upon creating the pull request.
1413
This project is built using https://jekyllrb.com/[Jekyll].
1514

1615
[[contributing-to-the-tinymce-documentation]]
17-
== Contributing to the TinyMCE Documentation
16+
== Contributing to the TinyMCE Documentation
1817
anchor:contributingtothetinymcedocumentation[historical anchor]
1918

2019
If you would like to contribute to the TinyMCE project please read the TinyMCE Documentation Contributor's Guide at either:
@@ -23,21 +22,21 @@ If you would like to contribute to the TinyMCE project please read the TinyMCE D
2322
* https://github.com/tinymce/tinymce-docs-4x/blob/develop/CONTRIBUTING.md#contributing-to-the-tinymce-developer-documentation[GitHub - Contributing to the TinyMCE developer documentation].
2423

2524
[[working-on-tinymce-documentation]]
26-
== Working on TinyMCE documentation
25+
== Working on TinyMCE documentation
2726
anchor:workingontinymcedocumentation[historical anchor]
2827

2928
[[compiling-or-building-the-documentation]]
30-
=== Compiling or building the documentation
29+
=== Compiling or building the documentation
3130
anchor:compilingorbuildingthedocumentation[historical anchor]
3231

3332
The following procedure assists with building (or compiling) the documentation locally. Tiny recommends testing and reviewing changes locally prior to submitting a pull request.
3433

3534
[[installing-prerequisites]]
36-
==== Installing Prerequisites
35+
==== Installing Prerequisites
3736
anchor:installingprerequisites[historical anchor]
3837

3938
[[linux-users]]
40-
===== Linux users
39+
===== Linux users
4140
anchor:linuxusers[historical anchor]
4241

4342
You need the following programs installed on your computer:
@@ -69,7 +68,7 @@ sudo apt install git gcc cpp make zlib1g-dev
6968
. (optional) Docker
7069

7170
[[windows-users]]
72-
===== Windows users
71+
===== Windows users
7372
anchor:windowsusers[historical anchor]
7473

7574
If you are a Windows user, follow these steps to work on TinyMCE documentation:
@@ -82,7 +81,7 @@ If you are a Windows user, follow these steps to work on TinyMCE documentation:
8281
----
8382
8483
[[mac-os-users]]
85-
===== Mac OS users
84+
===== Mac OS users
8685
anchor:macosusers[historical anchor]
8786
8887
. Ruby version 2 or later is required. Verify the pre-installed version, using:
@@ -95,7 +94,7 @@ anchor:macosusers[historical anchor]
9594
----
9695
9796
[[first-time-set-up]]
98-
==== First time set up
97+
==== First time set up
9998
anchor:firsttimesetup[historical anchor]
10099
101100
Once you have installed any missing prerequisites, in a terminal or on a command prompt:
@@ -114,7 +113,7 @@ Once you have installed any missing prerequisites, in a terminal or on a command
114113
----
115114

116115
[[run-the-development-version-of-the-documentation]]
117-
==== Run the development version of the documentation
116+
==== Run the development version of the documentation
118117
anchor:runthedevelopmentversionofthedocumentation[historical anchor]
119118

120119
To create a development version of the documentation, run:
@@ -130,7 +129,7 @@ To view the documentation; in a web browser, navigate to http://localhost:4000/[
130129
NOTE: The development version of the documentation will update automatically when you save changes locally.
131130

132131
[[tinymce-api-documentation]]
133-
==== TinyMCE API documentation
132+
==== TinyMCE API documentation
134133
anchor:tinymceapidocumentation[historical anchor]
135134

136135
The TinyMCE API documentation is maintained within the https://github.com/tinymce/tinymce[TinyMCE project repository] and compiled for the documentation site using https://github.com/tinymce/moxiedoc[MoxieDoc].
@@ -142,7 +141,7 @@ The TinyMCE API documentation is maintained within the https://github.com/tinymc
142141
* The TinyMCE documentation repository set up for development as described in <<installing-prerequisites,Installing Prerequisites>> and <<first-time-set-up,First time set up>>.
143142

144143
[[installing-moxiedoc]]
145-
===== Installing MoxieDoc
144+
===== Installing MoxieDoc
146145
anchor:installingmoxiedoc[historical anchor]
147146

148147
To install MoxieDoc, run:
@@ -152,7 +151,7 @@ npm install -g git://github.com/tinymce/moxiedoc.git
152151
----
153152

154153
[[run-the-development-version-of-the-documentation-for-the-current-tinymce-version]]
155-
===== Run the development version of the documentation for the current TinyMCE version
154+
===== Run the development version of the documentation for the current TinyMCE version
156155
anchor:runthedevelopmentversionofthedocumentationforthecurrenttinymceversion[historical anchor]
157156

158157
. Download the TinyMCE version in the `.api-version` file in this project's root directory and extract the API documentation using:
@@ -165,7 +164,7 @@ anchor:runthedevelopmentversionofthedocumentationforthecurrenttinymceversion[his
165164
----
166165

167166
[[run-the-development-version-of-the-documentation-for-a-local-tinymce-repository]]
168-
===== Run the development version of the documentation for a local TinyMCE repository
167+
===== Run the development version of the documentation for a local TinyMCE repository
169168
anchor:runthedevelopmentversionofthedocumentationforalocaltinymcerepository[historical anchor]
170169

171170
. Extract the API documentation from a local copy of the TinyMCE repository using:

antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ asciidoc:
55
attributes:
66
url: https://www.tiny.cloud
77
origin: https://www.tiny.cloud
8-
baseurl:
8+
baseurl: localhost:4000/tinymce/4
99
shared_baseurl:
1010
cdnurl: https://cloud.tinymce.com/stable/tinymce.min.js
1111
default_meta_keywords: tinymce, documentation, docs, plugins, customizable skins, configuration, examples, html, php, java, javascript, image editor, inline editor, distraction-free editor, classic editor

0 commit comments

Comments
 (0)