-
-
Notifications
You must be signed in to change notification settings - Fork 393
Person objects
Sid Vishnoi edited this page Jul 8, 2020
·
7 revisions
A person object is a JavaScript object literal with the following properties:
-
name
(required) - The name of the person.
url
- The URL for the person, can be used to point to the person's personal site.
company
- The company for which the person is working.
companyURL
- The URL for the above company.
mailto
- An email with which to contact the person.
note
- Additional information on the person, often used to indicate a former employer (if the person switched companies during edition) or to clarify that an editor is no longer active even if her name is still attached to the document out of respect for her past contributions.
w3cid
- Numeric id of the editor profile in W3C (W3C account holders can find their id by visiting their W3C profile); it is used by the W3C publication system to associate specifications with their editors.
extras
- Array of objects consisting of the
name
,href
, andclass
entries. The generated content is a sequence of elements the form<span class="class><a href=" href">name</a></span>
added to the end of the person's entry. Can be used to add, e.g., the twitter account, ORCID ID, etc., of the person.
This example shows a group of person objects being used to define the editors of a spec.
var respecConfig = {
editors: [
{
name: "Marcos Caceres",
company: "Mozilla Corporation",
companyURL: "https://mozilla.org/",
w3cid: 39125,
},
{
name: "Kenneth Rohde Christiansen",
company: "Intel Corporation",
companyURL: "http://intel.com",
w3cid: 57705,
},
{
name: "Mounir Lamouri",
company: "Google Inc.",
companyURL: "https://google.com",
w3cid: 45389,
},
{
name: "Anssi Kostiainen",
company: "Intel Corporation",
companyURL: "http://intel.com",
w3cid: 41974,
},
],
};
💖 Support ReSpec by becoming a sponsor via Open Collective. 💖
✨ View rendered version of this documentation at https://respec.org/docs/ ✨
- addSectionLinks
- authors
- caniuse
- edDraftURI
- editors
- favicon
- format (markdown)
- formerEditors
- github
- highlightVars
- isPreview
- license
- lint
- localBiblio
- logos
- maxTocLevel
- mdn
- modificationDate
- noTOC
- otherLinks
- pluralize
- postProcess
- preProcess
- previousDiffURI
- previousMaturity
- previousPublishDate
- prevRecShortname
- prevRecURI
-
processVersion(Deprecated) - publishDate
-
refNote(Deprecated) - shortName
- specStatus
- subjectPrefix
- subtitle
- testSuiteURI
- xref
- additionalCopyrightHolders
-
addPatentNote(Deprecated) - alternateFormats
- canonicalURI
- charterDisclosureURI
- copyrightStart
- crEnd
-
darkMode(deprecated, use dark mode) - doJsonLd
- errata
- group
- implementationReportURI
- lcEnd
- level
- noRecTrack
- prevED
- submissionCommentNumber
-
wg(Deprecated) -
wgId(Deprecated) -
wgPatentPolicy(Deprecated) -
wgPatentURI(Deprecated) - wgPublicList
-
wgURI(Deprecated)
a11y
check-punctuation
local-refs-exist
no-headingless-sections
no-http-props
no-unused-vars
no-unused-dfns
informative-dfn
privsec-section
wpt-tests-exist
Handled by ReSpec for you.
- data-abbr
-
data-cite(Not recommended) - data-dfn-for
- data-dfn-type
- data-format
- data-include-format
- data-include-replace
- data-include
- data-link-for
- data-link-type
- data-local-lt
- data-lt-no-plural
- data-lt-noDefault
- data-lt
- data-number
- data-oninclude
- data-sort
- data-tests
-
data-transform(Deprecated) - data-type
- dir
- lang