Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Config] [WIP] Add doc links support in Config component#21081

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
maidmaid wants to merge3 commits intosymfony:masterfrommaidmaid:confighelp

Conversation

@maidmaid
Copy link
Contributor

@maidmaidmaidmaid commentedDec 28, 2016
edited
Loading

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsn/a
LicenseMIT
Doc PRn/a

Hello,

In the same idea that#21046, I propose to add support of documentation links in Config component: each node in a config has own documentation link (for example,framework.secret config has thisdoc). When we runconfig:dump-reference command, it would be very usefull to show these doc links. Furthermore, in this way, the integration of the support of doc links in the IDE can be imagined (cfHaehnchen/idea-php-symfony2-plugin#876).

Result by runningphp bin/console config:dump-reference framework --with-doc:

framework:secret: ~# Doc: https://symfony.com/doc/3.2/reference/configuration/framework.html#secret

Configurations done:

  • framework
  • doctrine
  • security
  • assetic
  • swiftmailer
  • twig
  • monolog
  • web_profiler
  • debug

yceruto and maidmaid reacted with thumbs up emoji
@maidmaid
Copy link
ContributorAuthor

Is it possible to standardize the documentation anchors (#) byalways prefixing them with the parent config? This is true only in case of conflict.

For example, forframework.router.typeconfig, current anchor isframework.html#type and should beframework.html#router-type. In this way, the doc link will be ever true, even if an other config uses the same word.

@jakzal
Copy link
Contributor

Since#21046 was rejected, what do we do about this one?

@fabpot
Copy link
Member

I think I'm 👎 as well on this one.

@fabpotfabpot closed thisMar 5, 2017
@nicolas-grekasnicolas-grekas modified the milestone:3.xMar 24, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@maidmaid@jakzal@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp