Document using TypeScript and ES6 modules for extensions.

Review Request #12955 — Created April 14, 2023 and submitted — Latest diff uploaded

Information

Review Board
release-6.x

Reviewers

This change updates the extension static media documentation to explain
what is needed to enable the use of TypeScript and ES6 modules (as well
as ES6 more generally) in extensions.

The only part that's still missing is an explanation of how to import
code from the Review Board/Djblets JavaScript codebase. I'm undecided if
that's something we should document now (and perhaps enable via some
symlinks like .reviewboard/.djblets during the setup.py develop
process), or if we should wait until more of those codebases have been
converted to modules.

Built HTML and checked output.

Changes between revision 1 and 2

orig
1
2

Commits

Summary ID Author
Document using TypeScript and ES6 modules for extensions.
This change updates the extension static media documentation to explain what is needed to enable the use of TypeScript and ES6 modules (as well as ES6 more generally) in extensions. The only part that's still missing is an explanation of how to import code from the Review Board/Djblets JavaScript codebase. I'm undecided if that's something we should document now (and perhaps enable via some symlinks like `.reviewboard`/`.djblets` during the `setup.py develop` process), or if we should wait until more of those codebases have been converted to modules. Testing Done: Built HTML and checked output.
68226b8628cc62d4453bd56f101125285938736c David Trowbridge
Document using TypeScript and ES6 modules for extensions.
This change updates the extension static media documentation to explain what is needed to enable the use of TypeScript and ES6 modules (as well as ES6 more generally) in extensions. The only part that's still missing is an explanation of how to import code from the Review Board/Djblets JavaScript codebase. I'm undecided if that's something we should document now (and perhaps enable via some symlinks like `.reviewboard`/`.djblets` during the `setup.py develop` process), or if we should wait until more of those codebases have been converted to modules. Testing Done: Built HTML and checked output.
317a127264ad4346902ae3f7e27072ee3ea97f3e David Trowbridge
docs/manual/conf.py
docs/manual/extending/extensions/static-files.rst
Loading...