Skip to content

Fix broken url on sphinx projects#4696

Merged
agjohnson merged 3 commits into
readthedocs:masterfrom
stsewd:fix-broken-url-sphinx
Oct 2, 2018
Merged

Fix broken url on sphinx projects#4696
agjohnson merged 3 commits into
readthedocs:masterfrom
stsewd:fix-broken-url-sphinx

Conversation

@stsewd

@stsewd stsewd commented Oct 1, 2018

Copy link
Copy Markdown
Member

Fix #4671

@stsewd stsewd requested a review from a team October 1, 2018 19:15
params = base_sphinx.get_config_params()
self.assertEqual(
params['conf_py_path'],
'/docs/'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

not sure what else to test from params.

python_env=python_env,
)

for value, expected in (('conf.py', '/'), ('docs/conf.py', '/docs/')):

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We can't use pytests parametrize here :(

@stsewd

stsewd commented Oct 1, 2018

Copy link
Copy Markdown
Member Author

Travis failure is for search stuff

@agjohnson agjohnson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@agjohnson agjohnson merged commit 4c2fe1e into readthedocs:master Oct 2, 2018
@stsewd stsewd deleted the fix-broken-url-sphinx branch October 2, 2018 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants