Skip to content

Commit

Permalink
chore: rem MkModuleOverview
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Nov 12, 2023
1 parent 4d3abd5 commit 8827ba7
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 121 deletions.
2 changes: 0 additions & 2 deletions mknodes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
from .templatenodes.mkcommandoutput import MkCommandOutput
from .templatenodes.mkbadge import MkBadge
from .templatenodes.mkmetadatabadges import MkMetadataBadges
from .templatenodes.mkmoduleoverview import MkModuleOverview
from .templatenodes.mkcommentedcode import MkCommentedCode
from .templatenodes.mkconfigsetting import MkConfigSetting
from .templatenodes.mkmoduletable import MkModuleTable
Expand Down Expand Up @@ -161,7 +160,6 @@
"Metadata",
"PageTemplate",
"MkMetadataBadges",
"MkModuleOverview",
"MkCommentedCode",
"MkConfigSetting",
"MkSpeechBubble",
Expand Down
31 changes: 13 additions & 18 deletions mknodes/manual/dev_section.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,20 @@
nav = mk.MkNav("Development")


@nav.route.page("Module overview", icon="file-tree-outline")
@nav.route.page("Dependencies", hide="toc", icon="database")
def _(page: mk.MkPage):
page += mk.MkDependencyTable(layout="badge")
page += mk.MkPipDepTree(direction="LR")


@nav.route.page("Development environment", icon="dev-to")
def _(page: mk.MkPage):
page += mk.MkModuleOverview(maximum_depth=2)
page += mk.MkDevEnvSetup()


@nav.route.page("Dev Tools", icon="wrench")
def _(page: mk.MkPage):
page += mk.MkDevTools()


@nav.route.page("Code of conduct", icon="octicons/code-of-conduct-24")
Expand All @@ -23,19 +34,3 @@ def _(page: mk.MkPage):
@nav.route.page("License", hide="toc", icon="license")
def _(page: mk.MkPage):
page += mk.MkLicense()


@nav.route.page("Dependencies", hide="toc", icon="database")
def _(page: mk.MkPage):
page += mk.MkDependencyTable(layout="badge")
page += mk.MkPipDepTree(direction="LR")


@nav.route.page("Development environment", icon="dev-to")
def _(page: mk.MkPage):
page += mk.MkDevEnvSetup()


@nav.route.page("Dev Tools", icon="wrench")
def _(page: mk.MkPage):
page += mk.MkDevTools()
1 change: 0 additions & 1 deletion mknodes/manual/nodes_section.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
mk.MkDevTools,
mk.MkShields,
mk.MkMetadataBadges,
mk.MkModuleOverview,
mk.MkPipDepTree,
]

Expand Down
3 changes: 0 additions & 3 deletions mknodes/navs/mkdefaultwebsite.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ def __init__(
page += mk.MkDependencyTable()
page += mk.MkPipDepTree(direction="LR")

page = nav.add_page("Module overview")
page += mk.MkModuleOverview()

if "mkdocs.plugins" in self.ctx.metadata.entry_points:
page = nav.add_page("MkDocs Plugins")
page += mk.MkPluginFlow()
Expand Down
82 changes: 0 additions & 82 deletions mknodes/templatenodes/mkmoduleoverview/__init__.py

This file was deleted.

15 changes: 0 additions & 15 deletions mknodes/templatenodes/mkmoduleoverview/metadata.toml

This file was deleted.

0 comments on commit 8827ba7

Please sign in to comment.