Giter VIP home page Giter VIP logo

hal-doxygen's People

Contributors

appleninja910 avatar gew04 avatar ulrond avatar

Watchers

 avatar  avatar  avatar

hal-doxygen's Issues

Mermaid Output in doxygen not displaying correctly

  • When doxygen outputs html there's a bug in the render that it's not generated correctly, this is a known bug with doxygen.
  • We need to fix the issue in the github code, or check that someone else hasn't fixed it.
  • raise a ticket on doxygen github, and submit our change
  • In the meantime until the uprevision, we need to keep applying the patch to the code.
  • It may be rendered correctly if we followed the same fix that was applied for plantUML.

doxygen/doxygen#9950

Add support for fixed version of project clones into the template

Add support for checking the latest version and warning if not on it to be added to the clone script

https://github.com/rdkcentral/hal-doxygen/blob/develop/template/docs/generate_docs.sh

Something akin to the same one for ut-core

# Clone the Unit Test Requirements
[email protected]:rdkcentral/ut-core.git

# This function checks if we're not sitting on the latest revision.
function check_next_revision()
{
    pushd ./ut-core 2&>/dev/null
    # Set default UT_PROJECT_VERSION to next revision
    if [ -v ${UT_PROJECT_VERSION} ]; then
        UT_PROJECT_VERSION=$(git tag | grep ${UT_PROJECT_MAJOR_VERSION} | sort -r | head -n1)
        UT_NEXT_VERSION=$(git tag | sort -r | head -n1)
        echo -e ${YELLOW}ut-core version selected:[${UT_PROJECT_VERSION}]${NC}
        if [ "${UT_NEXT_VERSION}" != "${UT_PROJECT_VERSION}" ]; then
            echo -e ${RED}--- New Version of ut-core released [${UT_NEXT_VERSION}] consider upgrading ---${NC}
        fi
    fi
    popd 2&>/dev/null
}

This sort of thing needs to be removed

# Set default UT_PROJECT_VERSION to master
if [ -z "${UT_PROJECT_VERSION}" ]; then
    UT_PROJECT_VERSION=master
fi

Doxygen rendering related Enhancements/Bug

Doxygen rendering requires below enhancements/fix :

  1. The install step in doxygen_install.sh , had to be modified with sudo.
  2. It would be good to mention what is the doxygen version expected by generate_docs.sh. If any doxygen version is pre-installed, that’s being used by the script and the generated output will be badly rendered. After running doxygen_install.sh, issue was resolved.
  3. Dependent packages were not documented, hence direct script executions were failing. Required packages like flex, bison.

Add support for extra switches to pass to doxygen

Doxygen

  • Upgrade doxygen to support mermaid from .md files into the HTML output, needs to be corrected.
    - It currently works in markdown displayed images, but not in the output for the HTML
  • Check the latest version of doxygen, and check the patch level, does it support the above correctly?

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.