Commit 85b766b9 authored by Lyza Danger Gardner's avatar Lyza Danger Gardner

Add more properties to sample config in `dev-server`

For developer convenience, add a few more (commented-out) properties
to the config used by the local devserver, and link to more documentation
parent a813d4e4
......@@ -86,8 +86,11 @@ function DevServer(port, config) {
var appHost = document.location.hostname;
window.hypothesisConfig = function () {
// See https://h.readthedocs.io/projects/client/en/latest/publishers/config/
return {
// Force into focused user mode
// enableExperimentalNewNoteButton: true,
// showHighlights: 'always',
// theme: 'clean',
// Example focused user mode
// focus: {
......@@ -97,6 +100,13 @@ function DevServer(port, config) {
// displayName: 'Foo Bar',
// }
// },
// Example services config
// services: [{
// apiUrl: 'http://localhost:5000/api',
// authority: 'partner.org',
// allowLeavingGroups: false,
// groups: ['a-group-id', 'another-group-id'],
// }],
// Open the sidebar when the page loads
openSidebar: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment