Skip to content

Commit e88e1d5

Browse files
committed
rfctr: change param ref from asterisk to backticks
Sphinx handling is actually better, not only using italic but also a mono-width font.
1 parent cbf940c commit e88e1d5

Some content is hidden

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

74 files changed

+428
-428
lines changed

docs/api/document.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,68 +50,68 @@ if that behavior is desired.
5050

5151
.. attribute:: author
5252

53-
*string* -- An entity primarily responsible for making the content of the
53+
`string` -- An entity primarily responsible for making the content of the
5454
resource.
5555

5656
.. attribute:: category
5757

58-
*string* -- A categorization of the content of this package. Example
58+
`string` -- A categorization of the content of this package. Example
5959
values might include: Resume, Letter, Financial Forecast, Proposal,
6060
or Technical Presentation.
6161

6262
.. attribute:: comments
6363

64-
*string* -- An account of the content of the resource.
64+
`string` -- An account of the content of the resource.
6565

6666
.. attribute:: content_status
6767

68-
*string* -- completion status of the document, e.g. 'draft'
68+
`string` -- completion status of the document, e.g. 'draft'
6969

7070
.. attribute:: created
7171

72-
*datetime* -- time of intial creation of the document
72+
`datetime` -- time of intial creation of the document
7373

7474
.. attribute:: identifier
7575

76-
*string* -- An unambiguous reference to the resource within a given
76+
`string` -- An unambiguous reference to the resource within a given
7777
context, e.g. ISBN.
7878

7979
.. attribute:: keywords
8080

81-
*string* -- descriptive words or short phrases likely to be used as
81+
`string` -- descriptive words or short phrases likely to be used as
8282
search terms for this document
8383

8484
.. attribute:: language
8585

86-
*string* -- language the document is written in
86+
`string` -- language the document is written in
8787

8888
.. attribute:: last_modified_by
8989

90-
*string* -- name or other identifier (such as email address) of person
90+
`string` -- name or other identifier (such as email address) of person
9191
who last modified the document
9292

9393
.. attribute:: last_printed
9494

95-
*datetime* -- time the document was last printed
95+
`datetime` -- time the document was last printed
9696

9797
.. attribute:: modified
9898

99-
*datetime* -- time the document was last modified
99+
`datetime` -- time the document was last modified
100100

101101
.. attribute:: revision
102102

103-
*int* -- number of this revision, incremented by Word each time the
103+
`int` -- number of this revision, incremented by Word each time the
104104
document is saved. Note however |docx| does not automatically increment
105105
the revision number when it saves a document.
106106

107107
.. attribute:: subject
108108

109-
*string* -- The topic of the content of the resource.
109+
`string` -- The topic of the content of the resource.
110110

111111
.. attribute:: title
112112

113-
*string* -- The name given to the resource.
113+
`string` -- The name given to the resource.
114114

115115
.. attribute:: version
116116

117-
*string* -- free-form version string
117+
`string` -- free-form version string

docs/api/shared.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ allowing values to be expressed in the units most appropriate to the context.
5252
:members:
5353
:undoc-members:
5454

55-
*r*, *g*, and *b* are each an integer in the range 0-255 inclusive. Using
55+
`r`, `g`, and `b` are each an integer in the range 0-255 inclusive. Using
5656
the hexidecimal integer notation, e.g. `0x42` may enhance readability
5757
where hex RGB values are in use::
5858

docs/dev/analysis/features/header.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ a section title or page number. Such a header is also known as a running head.
1010

1111
A page footer is analogous in every way to a page header except that it appears at the
1212
bottom of a page. It should not be confused with a footnote, which is not uniform
13-
between pages. For brevity's sake, the term *header* is often used here to refer to what
13+
between pages. For brevity's sake, the term `header` is often used here to refer to what
1414
may be either a header or footer object, trusting the reader to understand its
1515
applicability to both object types.
1616

1717
In book-printed documents, where pages are printed on both sides, when opened, the front
18-
or *recto* side of each page appears to the right of the bound edge and the back or
19-
*verso* side of each page appears on the left. The first printed page receives the
18+
or `recto` side of each page appears to the right of the bound edge and the back or
19+
`verso` side of each page appears on the left. The first printed page receives the
2020
page-number "1", and is always a recto page. Because pages are numbered consecutively,
21-
each recto page receives an *odd* page number and each verso page receives an *even*
21+
each recto page receives an `odd` page number and each verso page receives an `even`
2222
page number.
2323

2424
The header appearing on a recto page often differs from that on a verso page. Supporting

docs/dev/analysis/features/sections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Sections
33
========
44

5-
Word supports the notion of a *section*, having distinct page layout settings.
5+
Word supports the notion of a `section`, having distinct page layout settings.
66
This is how, for example, a document can contain some pages in portrait layout
77
and others in landscape. Section breaks are implemented completely differently
88
from line, page, and column breaks. The former adds a ``<w:pPr><w:sectPr>``

docs/dev/analysis/features/shapes/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Shapes (in general)
33
===================
44

5-
A graphical object that appears in a Word document is known as a *shape*.
6-
A shape can be *inline* or *floating*. An inline shape appears on a text
5+
A graphical object that appears in a Word document is known as a `shape`.
6+
A shape can be `inline` or `floating`. An inline shape appears on a text
77
baseline as though it were a character glyph and affects the line height.
88
A floating shape appears at an arbitrary location on the document and text may
99
wrap around it. Several types of shape can be placed, including a picture, a

docs/dev/analysis/features/styles/character-style.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ A baseline regular run::
6262
</w:r>
6363
</w:p>
6464

65-
Adding *Emphasis* character style::
65+
Adding `Emphasis` character style::
6666

6767
<w:p>
6868
<w:r>

docs/dev/analysis/features/styles/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Styles
1111
character-style
1212
latent-styles
1313

14-
Word supports the definition of *styles* to allow a group of formatting
14+
Word supports the definition of `styles` to allow a group of formatting
1515
properties to be easily and consistently applied to a paragraph, run, table,
1616
or numbering scheme, all at once. The mechanism is similar to how Cascading
1717
Style Sheets (CSS) works with HTML.

docs/dev/analysis/features/styles/latent-styles.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ The `w:latentStyles` element used in the default Word 2011 template::
132132
Latent style behavior
133133
---------------------
134134

135-
* A style has two categories of attribute, *behavioral* and *formatting*.
135+
* A style has two categories of attribute, `behavioral` and `formatting`.
136136
Behavioral attributes specify where and when the style should appear in the
137137
user interface. Behavioral attributes can be specified for latent styles
138138
using the ``<w:latentStyles>`` element and its ``<w:lsdException>`` child
@@ -157,14 +157,14 @@ Latent style behavior
157157
value is 0 if not specified.
158158

159159
* **semiHidden**. The `semiHidden` attribute causes the style to be excluded
160-
from the recommended list. The notion of *semi* in this context is that
160+
from the recommended list. The notion of `semi` in this context is that
161161
while the style is hidden from the recommended list, it still appears in
162162
the "All Styles" list. This attribute is removed on first application of
163163
the style if an `unhideWhenUsed` attribute set |True| is also present.
164164

165165
* **unhideWhenUsed**. The `unhideWhenUsed` attribute causes any `semiHidden`
166166
attribute to be removed when the style is first applied to content. Word
167-
does *not* remove the `semiHidden` attribute just because there exists an
167+
does `not` remove the `semiHidden` attribute just because there exists an
168168
object in the document having that style. The `unhideWhenUsed` attribute is
169169
not removed along with the `semiHidden` attribute when the style is
170170
applied.

docs/dev/analysis/features/styles/style.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ There are six behavior properties:
1616

1717
hidden
1818
Style operates to assign formatting properties, but does not appear in
19-
the UI under any circumstances. Used for *internal* styles assigned by an
19+
the UI under any circumstances. Used for `internal` styles assigned by an
2020
application that should not be under the control of an end-user.
2121

2222
priority
@@ -98,10 +98,10 @@ semi-hidden
9898
-----------
9999

100100
The `w:semiHidden` element specifies visibility of the style in the so-called
101-
*main* user interface. For Word, this means the style gallery and the
101+
`main` user interface. For Word, this means the style gallery and the
102102
recommended, styles-in-use, and in-current-document lists. The all-styles
103103
list and current-style dropdown in the styles pane would then be considered
104-
part of an *advanced* user interface.
104+
part of an `advanced` user interface.
105105

106106
Behavior
107107
~~~~~~~~

docs/dev/analysis/features/table/table-props.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ a table::
2323
Autofit
2424
-------
2525

26-
Word has two algorithms for laying out a table, *fixed-width* or *autofit*.
26+
Word has two algorithms for laying out a table, *fixed-width* or `autofit`.
2727
The default is autofit. Word will adjust column widths in an autofit table
2828
based on cell contents. A fixed-width table retains its column widths
2929
regardless of the contents. Either algorithm will adjust column widths

0 commit comments

Comments
 (0)