Skip to content

Remove all deprecated code in prep for 1.0 #1168

Closed
@waylan

Description

@waylan

Just a reminder so we don't forget about it. There are a bunch of "TODO" comments in the code marking sections that need removed etc.

$ grep -n -r "TODO" *
mkdocs/commands/build.py:90:        # TODO: remove the rest in 1.0 as they are deprecated
mkdocs/commands/build.py:124:    # TODO: remove the rest in version 1.0 as they are deprecated
mkdocs/commands/build.py:138:        # TODO: remove the rest in version 1.0 as they are deprecated
mkdocs/commands/build.py:204:            # TODO: Remove this in version 1.0
mkdocs/commands/build.py:259:    # TODO: remove DeprecationContext in v1.0 when all deprecated vars have been removed
mkdocs/commands/build.py:296:    # TODO: end remove DeprecationContext
mkdocs/config/config_options.py:278:    TODO: This could probably be improved and/or moved from here. It's a tad
mkdocs/config/config_options.py:428:        # TODO: Remove in 1.0
mkdocs/config/config_options.py:472:        # TODO: delete deprecated `NumPages` class in version 1.0
mkdocs/config/defaults.py:36:    # TODO: remove this in version 1.0
mkdocs/config/defaults.py:96:    # TODO: delete deprecated `include_nav` and `include_next_previous` in version 1.0
mkdocs/legacy.py:44:    TODO: Remove in 1.0
mkdocs/tests/integration.py:12:TODOs
mkdocs/tests/legacy_tests.py:9:    # TODO: Remove in 1.0
mkdocs/utils/__init__.py:73:        # TODO: Remove this when external calls are properly cleaning up file
mkdocs/utils/__init__.py:332:    # TODO: Fix this, this is a hack. Relative urls  are not being calculated

Most of those are relevant here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions