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

Updated Sphinx configuration instructions#3332

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

Conversation

romaricdrigon
Copy link
Contributor

Hi,

While starting contributing, I ran into an error in Sphinx configuration.
The syntax of the configuration file should be slightly modified, here I propose to add a "tip", for users who may encounter the same issue.

QA
Doc fix?yes
New docs?kinda: added a tip
Applies toN/A
Fixed ticketsnone

@wouterj
Copy link
Member

I think you did something wrong, in the end it should look like this:https://github.com/WouterJ/symfony-docs/blob/travis_integration/conf.py#L34

@xabbuh
Copy link
Member

The problem might be that people are not familiar with our use of the ellipses. Thus, you might be tempted to append the wholeextensions line to your config file which results in the error message@romaricdrigon pointed out. Because of this I am 👍 to add some kind of tip.

@wouterj
Copy link
Member

but this tip suggests that you should remove the other extensions.

@xabbuh
Copy link
Member

Yeah, the tip is not clear enough. It should be rewritten in such that you have to add the Symfony docs related extensions to the list of already configured extensions if they exist.

@wouterjwouterj mentioned this pull requestDec 16, 2013
4 tasks
@romaricdrigon
Copy link
ContributorAuthor

On second thoughts yes the tip can be misleading; I'll think about another phraisng

@@ -211,6 +211,31 @@ Installing the Sphinx extensions
# set URL for API links
api_url = 'http://api.symfony.com/master/%s'

.. tip::

It seems that with newest Sphinx versions you may receive an error such

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

It seems sounds too unreliable... what aboutWith newest Sphinx versions you may sometimes receive [...]? That, if the errors happen only sometimes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

it doesn't depend on the sphinx version. It depends on whether someone understands our ellipses usage or not.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The note comes from the possibility (based on what we saw at the hack day), that the newest version of Sphinxmay haveextensions = [] instead ofextensions = ['lots of things'] (meaning it's blank in newer versions). That was part of the reason for the confusion.

weaverryan added a commit that referenced this pull requestMar 20, 2014
This PR was merged into the 2.3 branch.Discussion----------[WIP] Travis integration| Q   | A| --- | ---| Doc fix? | no| New docs? | no| Applies to | all| Fixed tickets |#2722,#3332##### Todo - [x] Using sparse checkout - [x] Update contributing docs - [ ] Squashing commits - [ ] Activate Travis hook (@fabpot)Commits-------37eb137 Update documentation8dec729 sparse checkoutsb6f693e Added CMFb1d9e62 Revert changes6cad008 Updated travis configc515613 Added .gitignore85b1b02 Try to supress bundle doc warningsf3cb8b1 Fixed submodules71a2ff4 Added needed config filesd312683 Added sphinx files
@weaverryan
Copy link
Member

Closing this now that we've gone a step further and included the build details in the repository itself :).

Though, perhaps now we can take a look back at these instructions and update them to use the new build stuff - I don't think we've done that yet.

Cheers!

@xabbuh
Copy link
Member

Well, there's not much left to do besides installing Sphinx and its extensions and runningmake html I guess. Which is afaics reflectedin the docs, isn't it?

@weaverryan
Copy link
Member

@xabbuh - you're right, I don't know why I thought that needed more work. Cheers!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@romaricdrigon@wouterj@xabbuh@weaverryan@ggam

[8]ページ先頭

©2009-2025 Movatter.jp