Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Developer Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
brienne
Developer Documentation
Commits
944ff56b
Commit
944ff56b
authored
8 years ago
by
Sean Madsen
Browse files
Options
Downloads
Patches
Plain Diff
Style Guide: first pass of clean up
parent
4b02cb94
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/best-practices/documentation-style-guide.md
+31
-54
31 additions, 54 deletions
docs/best-practices/documentation-style-guide.md
mkdocs.yml
+2
-0
2 additions, 0 deletions
mkdocs.yml
with
33 additions
and
54 deletions
docs/best-practices/documentation-style-guide.md
+
31
−
54
View file @
944ff56b
# Documentation style guide
This page is a place to collectively write the style guide for the
CiviCRM books, i.e. for high quality 'finished' documentation about
CiviCRM. Please join the documentation team, familiarise yourself with
these guidelines, and follow them where they make sense. Please also
suggest improvements to the documentation.
All CiviCRM guides
*(like this Developer Guide)*
are intended to provide
high-quality "finished" documentation about CiviCRM. This Style Guide page
documents the standards we wish to uphold to ensure all guides maintain this
high level of quality.
##
C
hapters
and
sections
##
Parts, c
hapters
,
sections
The book is divided into chapters. Each chapter is further divided into
sections
.
As with any text book or manual, we divide our guides into "parts", "chapters",
and "
sections
". In mkdocs, these blocks translate as follows:
Each section should start with a paragraph that explains what will be
covered in the section, e.g.
-
"part" -- folder
-
"chapter" -- file (in markdown), also one web page with a given URL
-
"section" -- heading within the page
*
This section discusses [one or two sentences which discuss the
section]. It will help if you already have [those things you should know
when writing this sections, e.g. other sections of the book, etc.]
*
Keep the page hierarchy to this depth (i.e. do not put folders within other
folders).
Don't use terms like previous section, etc. because we may re-arrange
Each chapter should start with a paragraph that explains what will be
covered in the chapter.
Don't use terms like "previous chapter", etc. because we may re-arrange
sections and we don't want or need to encourage people to read the book
from front to back.
...
...
@@ -35,7 +37,7 @@ are system administrator tasks out there (setting up an SSL certificate,
configuring CiviMail etc.) and point them in the right direction when
they want to know about those tasks.
### Refering to different users, contacts etc.
### Refer
r
ing to different users, contacts etc.
People who interact via the front end should be called end users /
contacts.
...
...
@@ -48,20 +50,18 @@ More techincal people are called hosting providers or system
administrators
We should avoid using the word CiviCRM core team. Instead we can say
'
CiviCRM
'
if we want to talk about something standard or official or
'
the CiviCRM community
'
when we want to talk about the wider ecosystem
"
CiviCRM
"
if we want to talk about something standard or official or
"
the CiviCRM community
"
when we want to talk about the wider ecosystem
of users, developers, etc.
## Formatting conventions
Some formatting conventions...
### Describing the CiviCRM user interface
Menu selections, buttons, tabs (basically, things that the reader is
being told to click) should be in bold.
-
Navigate to
**Administer
\
> CiviEvent
\
> Event Types**
to review the
-
Navigate to
**Administer > CiviEvent > Event Types**
to review the
default list of event types, shown in the following screenshot.
-
Modify event type labels by clicking
**Edit**
on any row.
-
Click
**Add Event Type**
to create a new category for your events.
...
...
@@ -75,17 +75,17 @@ and a generic activity (e.g., the Send Email activity versus sending an
email). However, sometimes it is too cumbersome or just plain weird to
capitalize every instance of a term even if it refers to a specific Civi
thing or technical definition (e.g., scheduled reminders, plain text).
Use your best judg
e
ment as to what serves the reader; trying to enforce
Use your best judgment as to what serves the reader; trying to enforce
consistency in this arena will slow us down/drive us crazy.
Quotes should be avoided as much as possible; however, do use them when
they seem necessary for clarity (e.g., if you are talking about setting
or field labels that are long phrases).
You can divide the Civ
I
CRM interface into Civ
I
CRM admin/administration
pages and Civ
I
CRM public/front-end pages.
You can divide the Civ
i
CRM interface into Civ
i
CRM admin/administration
pages and Civ
i
CRM public/front-end pages.
### Refering to other sections and to other sources of information
### Refer
r
ing to other sections and to other sources of information
An example of an internal reference as written in markdown is: Read more
about
[
defining memberships
](
../membership/defining-memberships
)
.
...
...
@@ -182,40 +182,17 @@ Donations.pdf](/confluence/download/attachments/65307021/Quick%20Start%20Guide%2
## Spelling and punctuation
Both U.K. and U.S. English spellings are acceptable; we actually welcome
inconsistency around this. Civi is an international project, so it's
inconsistency around this. Civi
CRM
is an international project, so it's
mixing it up is a benefit.
Double quotes are preferred over single quotes.
### Frequently used terms
Autoresponder (not auto-responder)
Deduplicate, dedupe (not de-duplicate or de-dupe)
Dropdown, dropdown menu (not drop-down)
Meetup (noun)
Set up (verb), set-up (noun)
Unsubscribe (not un-subscribe)
### Helpful
If looking for a specific term throughout the latest version (including
unpublished changes) of the entire book ????
### Style Guide by example - WIP

Gliffy
[

Zoom](/confluence/download/attachments/65307021/Book%20style%20guide%20examples%20-%20WIP.png?version=6&modificationDate=1454632726000&api=v2)
-
"Autoresponder"
*(not auto-responder)*
-
"Deduplicate", "dedupe"
*(not "de-duplicate" or "de-dupe")*
-
"Dropdown", "dropdown menu"
*(not "drop-down")*
-
"Meetup" (noun)
-
"Set up" (verb), "set-up" (noun)
-
"Unsubscribe"
*(not "un-subscribe")*


This diff is collapsed.
Click to expand it.
mkdocs.yml
+
2
−
0
View file @
944ff56b
...
...
@@ -23,6 +23,8 @@ pages:
-
Hooks
:
-
How to Use Hooks
:
hook.md
-
All Available Hooks
:
hooks-db.md
-
Best Practices
:
-
Documentation Style Guide
:
best-practices/documentation-style-guide.md
-
Miscellaneous
:
-
Extension Lifecycle
:
extend-stages.md
-
Markdown
:
markdownrules.md
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment