mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
Create BIND 9 Style Guide
parent
f4e07f7b72
commit
ca0601a883
34
BIND-9-Style-Guide.md
Normal file
34
BIND-9-Style-Guide.md
Normal file
@ -0,0 +1,34 @@
|
||||
As originally discussed in #3169, this is an attempt at a style guide for the BIND ARM and other related documents.
|
||||
|
||||
### Commands
|
||||
* Names of statements/blocks/directives in the configuration file should be links to their definition, i.e. not just double backticks:
|
||||
* `` :namedconf:ref:`options` ``
|
||||
* `` :ref:`reverse-mapped zone file<ipv4_reverse>` ``
|
||||
* Names of programs should be links to their manual page or some other definition:
|
||||
* `` :iscman:`named` ``
|
||||
* `` :iscman:`named-checkconf` ``
|
||||
* File names have two options:
|
||||
* If it is a file name that has a manual page, link to the manual or some other definition:
|
||||
* `` :iscman:`named.conf` ``
|
||||
* `` :iscman:`rndc.conf` ``
|
||||
* If it does NOT have a definition in the ARM (e.g. paths like /etc/bind), use `:file:` syntax for standard Sphinx highlighting. That way we can change it at any time and have it consistent:
|
||||
* `` :file:`/etc/bind/keys/example.com/` ``
|
||||
* DNS record types (`A`, `AAAA`, etc.) do not need special highlighting.
|
||||
|
||||
In the vast majority of cases, a link can use this simple syntax without needing to think about what type of "object" it is:
|
||||
|
||||
```
|
||||
:any:`name`
|
||||
```
|
||||
|
||||
and Sphinx should automatically find its definition.
|
||||
|
||||
### Text
|
||||
* Present tense rather than future (“BIND does X” rather than “BIND will do X”)
|
||||
* Unix (not UNIX)
|
||||
* Backward compatibility (not backwards)
|
||||
* Namespace (not name space)
|
||||
* Name server (not nameserver)
|
||||
* Time-to-live
|
||||
* RRset (not rrset)
|
||||
* Failover (not fail-over)
|
Loading…
x
Reference in New Issue
Block a user