Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
0a3cae2f
Commit
0a3cae2f
authored
Dec 11, 2017
by
Sheetal Umesh Kumar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the docs for config options available to third party publishers.
parent
faf27af9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
config.rst
docs/publishers/config.rst
+37
-0
No files found.
docs/publishers/config.rst
View file @
0a3cae2f
...
...
@@ -81,6 +81,43 @@ loads.
experimental and may change in future. ``true`` and ``false`` values
are the stable API.
.. option:: theme
``String``. Controls the overall look of the sidebar.(Default: ``classic``).
``"classic"`` - Enables the card view for annotations, the bucket bar, the sidebar minimize
button, the highlights button and the new note button in the toolbar. It also disables the
close button in the toolbar. The classic theme is enabled by default.
``"clean"`` - Enables the clean view for annotations in the sidebar, disables the bucket bar,
the sidebar minimize button, the highlights button and the new note button in the toolbar and enables the
close button in the toolbar. It will also show a cleaner and more minimal onboarding tutorial.
.. option:: enableExperimentalNewNoteButton
``Boolean`` - Controls whether the experimental New Note button should be shown in the
notes tab in the sidebar. (Default: ``false``).
``true`` - The button is shown.
``false`` - The button is not shown.
.. option:: usernameUrl
``String``. This allows you to specify a URL to direct a user to, in a new tab when they
click on the annotation author link in the header of an annotation. The username is appended to the end
of `usernameUrl`.
For example:
.. code-block:: javascript
window.hypothesisConfig = function () {
return {
usernameUrl: 'https://partner.org/user/',
};
};
.. option:: services
``Array``. A list of alternative annotation services which the client should
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment