Skip to content

Addons: create project admin page to configure addons #211

@humitos

Description

@humitos

The new addons project will give users a lot of flexibility: we will eventually allow them to use the JSON response to build anything they want on the frontend (see readthedocs/addons#13) and also because they could also inject the web-components by hand.

However, for the most common use case (no "development configuration") we still want to provide a way to customize some of the addons like "Default filter" on search, the root_selector for docdiff and others. I'm thinking all these things could be a page (or Addons subpages -- like one per addon: Addons -> Search) with a simple form on the project Admin for now.

Things we want to expose to configure currently (there will be more, sure):

It may be too soon to start working on this development, but I want to start the conversation to understand if we all are in the same page.

I'd like to start collecting opinions here because there are different ideas around how to do this and I'd like to think more deeply on them. We can always say: "These are the defaults and there is no way to change them unless you inject the web-components by yourself and pass attributes", like: <readthedocs-search default-filter="project: test-builds"></readthedocs-search>, which is totally valid as well (in particular at this stage)

Metadata

Metadata

Assignees

Labels

AcceptedAccepted issue on our roadmapFeatureNew feature

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions