question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Switch website theme to PyTorch?

See original GitHub issue

I am updating the docs theme to leverage pytorch_sphinx_theme so that Ignite docs look like PyTorch’s. The diffs are minimal.

Pros:

  • closer to PyTorch
  • darkifiable with existing Userstyles (see screenshots)

Caveats:

  • pytorch_sphinx_theme comes with footers that are not really relevant to Ignite, and I could not yet find a way to alter them.
  • the links to various Ignite versions are eaten by some monster somewhere

Here are some screenshots (built with make html or with sphinx-versioning ...). What is your opinion? Should I open a PR?

some text and code (that look nice IMO)

Screenshot 2019-09-14 at 20 00 54 Screenshot 2019-09-14 at 19 44 04

the main caveat: PyTorch footer (irrelevant to Ignite)

Screenshot 2019-09-14 at 20 02 23

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
bosrcommented, Sep 15, 2019

Good opportunity to refresh my rusty Sphinx knowledge!

Among other fixes, I removed the footer and customized the header. I’m still missing the versions links. It looks like this (zoomed out 85% but that’s not relevant):

Screenshot 2019-09-15 at 11 19 51
1reaction
bosrcommented, Sep 15, 2019

thanks @vfdev-5, perfect I’ll try to do so, then I’ll open the PR (the code is currently in bosr/ignite@doc/pytorch-theme)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introduction to PyTorch
Below, we're going to demonstrate using one of the ready-to-download, open-access datasets from TorchVision, how to transform the images for consumption by your ......
Read more >
Transfer Learning for Computer Vision Tutorial
Built with Sphinx using a theme provided by Read the Docs. Transfer Learning for Computer Vision Tutorial. Load Data. Visualize a few images....
Read more >
Building Models with PyTorch
In this video, we'll be discussing some of the tools PyTorch makes available for building deep learning networks. Except for Parameter , the...
Read more >
5. Advanced configuration
You can change TorchServe behavior by setting the following environment ... to tell a browser to let a web application running at one...
Read more >
Deploying PyTorch in Python via a REST API with Flask
When you visit http://localhost:5000/ in your web browser, you will be greeted ... We will also change the response type, so that it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found