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.

Help with html customization

See original GitHub issue

Sorry for abusing the issue tracker, but I don’t know where else to get support from after 2 days of trying.

I want to customize the html layout and contents, and I read the documentation about custom jinja files and the -t command line option. That’s all good, but unfortunately I’m very ignorant when it comes to this tech stack, I need a couple of hints to get going.

The main thing that I’d like to accomplish right now is customizing the list of modules in the index page. I created my custom jinja, but I don’t understand how to access modules list and hierarchy. I see in the default that all_modules is available, but that’s only a list of strings. I thought I could access doc_objects, but that doesn’t seem to be available.

How do I know what underlying python objects are available and how do I access them to create my own population logic?

Thanks in advance for any help!

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
mhilscommented, Jan 21, 2022

I have a prototype at https://github.com/mhils/pdoc/tree/all-modules. I’m still not sure if the changes will make it in as-is, but please feel free to play around with it:

pip install https://github.com/mhils/pdoc/archive/all-modules.zip
0reactions
mhilscommented, Jan 23, 2022

This works on main now and will be part of the next pdoc release! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using HTML and Custom Code - Website Help
Right-click where you want to edit the code, and then click Edit HTML/CSS to get view the code of anything in your editor....
Read more >
Using custom elements - Web Components | MDN
This article introduces the use of the Custom Elements API. ... Customized built-in elements inherit from basic HTML elements.
Read more >
How to use custom HTML and CSS - Flourish Help
How to use custom HTML and CSS. In several of our templates, there are opportunities to customize your content by adding HTML and...
Read more >
Getting Started with a Custom HTML Template
You can enable custom HTML templates in Settings > Brand. Choose Custom from the Template dropdown. Once you've enabled custom templates you'll ...
Read more >
Custom HTML Creative - Qualtrics
The custom HTML creative is unique in that it allows you to create custom content that is displayed as part of your page....
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