Skip to content

Add lots of docs, mostly best practices.#2

Merged
juliusv merged 1 commit intoprometheus:masterfrom
brian-brazil:master
Jan 2, 2015
Merged

Add lots of docs, mostly best practices.#2
juliusv merged 1 commit intoprometheus:masterfrom
brian-brazil:master

Conversation

@brian-brazil
Copy link
Contributor

Start out on the visualisation docs.

Expand overview, remove federation as a feature we don't have that yet.

Switch example variable to follow naming scheme.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyone set something like that up? That would be a great addition to the docs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that I'm aware of. Once one of us does it we should certainly contribute it back.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comma after "For example" (http://english.stackexchange.com/questions/132359/any-exception-with-commas-before-and-after-for-example).

I think for now should spell them "push gateway" and "alert manager" (My feeling is that if we're using these like descriptive words in normal English, they should be spelled as two words and lower-case.), though I don't feel strongly at all about that. Main thing is that we standardize and make things consistent.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're referring to our particular Alertmanager and PushGateway implementations, thus I think they're proper nouns and get capitals.

@discordianfish
Copy link
Member

Beside the minor notes, really great documentations! Very useful and well written. 👍

@brian-brazil brian-brazil force-pushed the master branch 6 times, most recently from cb0c182 to ae064e0 Compare December 27, 2014 00:00
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some extra words here: "in an during an outage"

@juliusv
Copy link
Member

juliusv commented Dec 29, 2014

Sorry, this is just the first iteration of comments. I simply don't have a lot of free-wheeling computer time at Congress... will try to get back to it ASAP.

@discordianfish
Copy link
Member

@juliusv I'm impressed by your proofreading skills :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like there's too much "you want", "you should", etc. in this style.

Taking out the "you" in this concrete example could be done like: "Typically it makes sense to alert...".

Alternatives in other places could be to simply omit the "you should" sometimes and just leave it at the imperative form. E.g. below: "Only page on latency..."

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/You should//

s/allow/allow for/

s/accomodate/accommodate/

@juliusv
Copy link
Member

juliusv commented Dec 29, 2014

Ok, that was one more round of comments - more to follow when I find the time!

Start out on the visualisation docs.

Expand overview, remove federation as a feature we don't have that yet.

Switch example variable to follow naming scheme.
@brian-brazil
Copy link
Contributor Author

I think that's all of your comments covered.

Not using contractions feels very unnatural to me.

@juliusv
Copy link
Member

juliusv commented Jan 2, 2015

@brian-brazil Thanks! Re-reading and then reading the second half now.

I agree in some cases about the contractions. @opensourcegrrrl (our doc writer) has always told me to avoid them, but I'm not sure if we have to be so strict about it.

@juliusv
Copy link
Member

juliusv commented Jan 2, 2015

As discussed on IRC, I'm going to merge this as-is now and send a followup PR with some changes later. Easier for everyone :)

juliusv added a commit that referenced this pull request Jan 2, 2015
Add lots of docs, mostly best practices.
@juliusv juliusv merged commit bf082f6 into prometheus:master Jan 2, 2015
@osg
Copy link

osg commented Jan 5, 2015

"Expand abbreviations, such as e.g., because they add complexity for non-native readers, are used inconsistently, and are unnecessary." http://infobits.eu/tech-doc/style-guide/

@osg
Copy link

osg commented Jan 5, 2015

In an instance such as, "When doesn't it fit?", the emphasis should be on not, yet that part is contracted. "When does it not fit?" might be the clearer option.

juliusv added a commit that referenced this pull request Jan 5, 2015
This introduces a lot of small followup changes to
#2.

Some things are clear right/wrong spelling/grammar issues, while others
are a matter of style or taste.

Except in extreme cases, I didn't reflow the text aggressively to a
certain number of columns, in order to make it easier to spot
differences.

Let me know what you think.
juliusv added a commit that referenced this pull request Jan 5, 2015
This introduces a lot of small followup changes to
#2.

Some things are clear right/wrong spelling/grammar issues, while others
are a matter of style or taste.

Except in extreme cases, I didn't reflow the text aggressively to a
certain number of columns, in order to make it easier to spot
differences.

Let me know what you think.

Some reference links worth mentioning:

Compound adjectives:
http://www.grammar-monster.com/lessons/adjectives_compound_adjectives.htm

Run-on sentences:
http://grammar.ccc.commnet.edu/grammar/runons.htm

General tech-writing style guide (which I haven't actually looked at
much yet):
http://infobits.eu/tech-doc/style-guide/
@juliusv juliusv mentioned this pull request Jan 5, 2015
juliusv added a commit that referenced this pull request Jan 6, 2015
This introduces a lot of small followup changes to
#2.

Some things are clear right/wrong spelling/grammar issues, while others
are a matter of style or taste.

Except in extreme cases, I didn't reflow the text aggressively to a
certain number of columns, in order to make it easier to spot
differences.

Let me know what you think.

Some reference links worth mentioning:

Compound adjectives:
http://www.grammar-monster.com/lessons/adjectives_compound_adjectives.htm

Run-on sentences:
http://grammar.ccc.commnet.edu/grammar/runons.htm

General tech-writing style guide (which I haven't actually looked at
much yet):
http://infobits.eu/tech-doc/style-guide/
juliusv added a commit that referenced this pull request Jan 6, 2015
@RichiH RichiH mentioned this pull request Aug 31, 2018
aylei pushed a commit to aylei/docs that referenced this pull request Oct 28, 2019
aylei pushed a commit to aylei/docs that referenced this pull request Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants