Coder Social home page Coder Social logo

Comments (6)

mosra avatar mosra commented on May 20, 2024 1

Uh, sorry, I forgot that I already implemented some support for CASE_SENSE_NAMES = NO as a fix for #42. Turns out I missed one thing, thank you @nephatrine for pointing it out. Should be fixed in 03b69fd.

@Aschratt I was not able to reproduce the problem you're having with the exact casing you mentioned, but trying out tutorials/Helloworld.md (uppercase H) together with CASE_SENSE_NAMES = NO resulted in the same double underscore you're having. I think this is the same case and so the above commit should fix that too.

Closing as resolved, please complain if something is still wrong ;)

from m.css.

nephatrine avatar nephatrine commented on May 20, 2024

I'm having a similar issue. I have a LICENSE.md that Doxygen is putting into its own page. The XML generated is:

<compound refid="md__l_i_c_e_n_s_e" kind="page"><name>md_LICENSE</name></compound>

In the HTML that m.css creates for that, it generates a file md__l_i_c_e_n_s_e.html. I can get to it without issues from the search bar, but the hyperlink in the Pages view links to md_license.html which doesn't exist and returns an error. For some reason the Pages page is eating the underscores?

from m.css.

mosra avatar mosra commented on May 20, 2024

Hi all, sorry for the late reply, I am extremely busy right now...

I think both of these issues are related to the CASE_SENSE_NAMES option in the Doxyfile. It defaults to NO on Windows and causes the extra underscores to be added ... in some cases, but not all, which means I get a very inconsistent and sometimes irrepairable data in the XML files :/

Can you try setting this option to YES to see if it fixes anything?

from m.css.

nephatrine avatar nephatrine commented on May 20, 2024

@mosra I can confirm that setting CASE_SENSE_NAMES to YES corrected the issue for me, though that doesn't seem like an ideal solution.

Looking at dox2html5 though, I noticed this:

# Compound URL is ID, except for index page
compound.url = (compounddef.find('compoundname').text if compound.kind == 'page' else compound.id) + '.html'

I'm not much of a python guy so the order of that if statement is a bit confusing to me, but it looks like it's using the compoundname instead of compound.id for all pages. In at least my case though, that's what is causing the mismatch. If I change that line of code to always use compound.id, then the generated HTML is correct and the Pages links all work as does the index page and nothing seems to break, but this is just a small test project so idk.

from m.css.

crud89 avatar crud89 commented on May 20, 2024

Hi! I tried again with your changes and can confim, that it now works with CASE_SENSE_NAMES = NO. Thank you! 👍

from m.css.

mosra avatar mosra commented on May 20, 2024

Awesome, thanks for the confirmation! :)

from m.css.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.