Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: use sphinx githubpages extension #2418

Merged
merged 1 commit into from
Jul 14, 2022

Conversation

Augustyniak
Copy link
Contributor

@Augustyniak Augustyniak commented Jul 14, 2022

Description: This change is an attempt to fix images in the generated documentation. As it is now they do not work - example. The issues seems to be caused by the fact that Sphinx puts all of the images in _images directory and Github Pages, backed by jekyll, ignores all directories whose names start with _. The idea is to use sphinx.ext.githubpages extension that puts .nojekyll file in the root of the generated sphinx artifacts which is supposed to fix the issue as reported in https://stackoverflow.com/a/64544659. Not a great way to test this e2e locally so may need to revert the change if it turns out that the issue persists.
Risk Level: Low, documentation changes
Testing: Generated sphinx's artifacts locally with and without the change. Confirmed that with the change I can see .nojekyll file being added to generated/docs directory.
Docs Changes:
Release Notes:

Signed-off-by: Rafal Augustyniak raugustyniak@lyft.com

Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
@Augustyniak Augustyniak requested a review from jpsim July 14, 2022 12:58
Copy link
Contributor

@jpsim jpsim left a comment

Choose a reason for hiding this comment

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

Nice find!

@Augustyniak Augustyniak merged commit 529cbe5 into main Jul 14, 2022
@Augustyniak Augustyniak deleted the fix-images-in-generated-docs branch July 14, 2022 13:40
Augustyniak added a commit that referenced this pull request Jul 15, 2022
This reverts commit 529cbe5.

Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
Augustyniak added a commit that referenced this pull request Jul 18, 2022
Description: Revert #2418 as the change did not fix the issues with images not appearing in documentation. envoy-mobile/envoy-mobile.github.io#24 fixed the issues instead.
Risk Level: None. 
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
jpsim added a commit that referenced this pull request Jul 18, 2022
* main:
  tools: fix source mapping (#2429)
  Update Envoy (#2427)
  tools: add arm64 debug run configuration (#2424)
  Revert "docs: use sphinx githubpages extension (#2418)" (#2425)
  Remove Tulsi configuration & docs (#2421)
  Fix isCleartextTrafficPermitted (#2420)
  Squelch two JNI build warnings (#2426)
  dns: allow using the `getaddrinfo`-based system DNS resolver (#2419)
  docs: use sphinx githubpages extension (#2418)
  Update Envoy (#2417)
  Remove rules_cc uses
  Bump Lyft Support Rotation (#2414)
  iOS: fix retain cycles in `EnvoyNetworkMonitor` (#2415)
  Update Envoy (#2413)
  engine: remove outdated comment about `registerFactories()` (#2412)
  api: make RequestTrailersBuilder and ResponseHeadersBuilder constructors public (#2410)

Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit to envoyproxy/envoy that referenced this pull request Nov 29, 2022
Description: Revert envoyproxy/envoy-mobile#2418 as the change did not fix the issues with images not appearing in documentation. envoy-mobile/envoy-mobile.github.io#24 fixed the issues instead.
Risk Level: None.
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
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