phpDocumentor / phpDocumentor/guides

Deprecated Tabs directive in Bootstrap theme

Open
#1,320 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

deprecation
Dominant language
PHP
Stars
36
Forks
22
Avg merge
2d 2h
Merged PRs (30d)
24

Description

Feature request

The tabs and tab directives, along with related nodes, have been moved from the phpdocumentor/guides-theme-bootstrap package to the main phpdocumentor/guides-restructured-text package. Subsequently, the classes in the Bootstrap theme package have been deprecated.

Update your code to use the new FQCN:

Deprecated FQCN New FQCN
phpDocumentor\Guides\Bootstrap\Directives\TabDirective phpDocumentor\Guides\RestructuredText\Directives\TabDirective
phpDocumentor\Guides\Bootstrap\Directives\TabsDirective phpDocumentor\Guides\RestructuredText\Directives\TabsDirective
phpDocumentor\Guides\Bootstrap\Nodes\AbstractTabNode phpDocumentor\Guides\RestructuredText\Nodes\AbstractTabNode
phpDocumentor\Guides\Bootstrap\Nodes\TabNode phpDocumentor\Guides\RestructuredText\Nodes\TabNode
phpDocumentor\Guides\Bootstrap\Nodes\TabsNode phpDocumentor\Guides\RestructuredText\Nodes\TabsNode

The usage in reStructured Text documentation and theming file location are not changed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository for the five deprecated Bootstrap FQCNs listed in the issue, starting with references to TabDirective, TabsDirective, AbstractTabNode, TabNode, and TabsNode. Replace references with their RestructuredText FQCNs and verify that no deprecated namespace usages remain; reStructured Text documentation usage and theming file locations should be unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.