Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does epydoc add “-module” and “-class” to the names of the HTML pages it generates?

epydoc generates html names pages
0
Posted

Why does epydoc add “-module” and “-class” to the names of the HTML pages it generates?

0

There are two reasons. First, this ensures that the names of module and class pages do not conflict with the names of existing special pages. For example, if a module were named “index”, then naming its documentation page “index.html” would interfere with the use of that name for the documentation’s main page. Second, it is possible to define a package where a module and a class share the same name. In those cases, this naming scheme ensures that the two object’s pages do not conflict.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123