Skip to content

canonical/ubuntu-copy-docs

Repository files navigation

Ubuntu Copy Docs

Browser extension that adds a link to copy docs to Ubuntu and Canonical websites.

extenstion in action on ubuntu.com

Install

Firefox

Get Ubuntu Copy Docs from Firefox Add-ons.

Chrome

Get Ubuntu Copy Docs from Chrome Web Store.

How to add it to the site

This extension looks for specific meta data in the page HTML.

If you want to link your page to a copy doc you need to add a <meta name="copydoc" content="..."> tag to the page HTML head, where the content is the URL of the copy doc.

For example:

<meta name="copydoc" content="https://docs.google.com/document/d/example123">

Currently the extension is configured only on some domains (including ubuntu.com, canonical.com, snapcraft.io, maas.io). If you would like your domain added to those file a bug or create a PR with it.