Skip to content

Move non-functional configuration into extra #551

Closed

Description

@d0ugal

This is a branch from the changes in #144.

We may even want to move some non-behavioral stuff such as copyright and google_analytics into the extra block. It'll help the maintainance of the project if we can reduce the number of valid settings keys - less moving parts then, and the context stuff all nicely separated out.

This was made possible by #539 but it didn't remove any. I think there needs to be some discussion about what makes a non-behavioural configuration option. For example, site name isn't behavioural but it is required. What about site_description?

Activity

  1. added this to the 0.14.0 milestone on May 24, 2015
  2. modified the milestones: 0.14.0, 0.15.0 on Jun 4, 2015
  3. lovelydinosaur commented on Jul 3, 2015

    @lovelydinosaur
    Collaborator

    Non-behavioral options should not touch the mkdocs codebase in any way.

    Theres a few bits of cleanup we'll want to do to reduce the amount of config that's seen by mkdocs in order to help with this cleanup.

    site_name is something of an exception, because it seemed like a good idea to force the user to have at least a shell of a config file with at least a single valid item, and it's such an obvious requirement to have a title for the site that it seemed sensible to have it as the sole required item.

  4. lovelydinosaur commented on Jul 3, 2015

    @lovelydinosaur
    Collaborator

    See also #683

  5. modified the milestone: 0.15.0 on Jan 14, 2016
  6. added this to the 1.0.0 milestone on Dec 2, 2016
  7. modified the milestones: 1.0.0, Post 1.0 on Jun 29, 2018
  8. waylan commented on Jun 29, 2018

    @waylan
    Contributor

    I'm deferring this as this is mostly implemented today. While we do have some existing config settings which do not need to be part of the core set of settings, we also have theme specific settings and plugin specific settings. Over time as themes and plugins develop their own settings more and more of the builtin settings can be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions