-
-
Notifications
You must be signed in to change notification settings - Fork 392
Google Summer of Code 2018 Summary
This page documents the work done by @sidvishnoi (Sudhanshu Vishnoi) during his GSoC internship and serves as the final official submission.
- [Commits]
- Issues: [Opened] [Closed] [Involved]
- Pull Requests: [Merged] [Closed] [Pending]
- Wiki: [caniuse] [lint] [pluralize] [Auto-linking external references]
- It was a great experience! I hope to contribute more in future.
During my GSoC, apart from code refactor, documentation, participating in code reviews & issues, I worked on following features:
This was my primary GSoC project. The design proposal, checklist and details can be seen here in #1662.
We were able to create a working version for this feature during the summer by using a mock API and the ReSpec implementation is fairly complete.
What remains is: integrating the Shepherd database (precisely the API) in ReSpec. The API requirements are documented here in #1757. It would be fairly straight-forward, likely, just changing the API URL in src/core/xref.js#10 and a few tweaks. I'll be available to help with issues and bug fixes for this feature in future.
The WebIDL linking part shall be finished this week after doing some more testing (See https://github.com/w3c/respec/pull/1765).
Earlier in ReSpec, we were making use of data-lt
attributes to define alternative pluralized terms for a dfn
, so they can be linked. For example, <dfn data-lt="user agents">user agent</dfn>
, we can link to it either as <a>user agent</a>
or <a>user agents</a>
. This caused editors to write additional markup which made the source document a bit uglier and slightly painful to write. Now, ReSpec can automatically (and smartly) add the plural terms by itself. [Documentation].
If in a document, we cite a spec, say DOM, in multiple ways such as [[DOM]]
, [[dom]]
, [[dom4]]
, [[DOM4]]
etc, we used to have duplicate citations in the references section. This has been fixed now and only the first used reference is listed (linking works same as before). We now have a more stable and cleaner bibliographic linking.
We started work on this feature before GSoC, but it was finished during first week of GSoC. This lets us have a dynamic browser support table for the feature that the specification is for. [Documentation]
💖 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