Giter Club home page Giter Club logo

Comments (6)

Girgias avatar Girgias commented on August 22, 2024 1

It happens :)

from doc-en.

Girgias avatar Girgias commented on August 22, 2024

@haszi seems like the type linking change broke something php/phd@45cffd6

from doc-en.

haszi avatar haszi commented on August 22, 2024

@haszi seems like the type linking change broke something php/phd@45cffd6

@Girgias Oof. I just took a quick look and it seems that there is a large number of doc files with this kind of format:

<methodsynopsis>
 <type>void</type><methodname>apache_child_terminate</methodname>
 <void/>
</methodsynopsis>

with the first <type>void</type> being all kinds of types in the different methods/functions. While this seems incorrect to me (what do the two voids each represent? One is the return type and the other...), there are over a thousand files like this.

I'll only have time to take a closer look tonight (in 5-6 hours) so if this is urgent, please revert that change and I'll think of a way to suppress the superfluous <void/> elements (and I'll also make a script to remove these from the docs, if you agree).

Also, type linking seems to add .html at the end of the links which doesn't work, so I'll have to remove those too. It was working on my machine ™️

from doc-en.

Girgias avatar Girgias commented on August 22, 2024

The </void> means that the function has no parameters the return type is always before the function name even if it is void :)

from doc-en.

haszi avatar haszi commented on August 22, 2024

The </void> means that the function has no parameters the return type is always before the function name even if it is void :)

Of course... What an epic screwup! :-( I don't know how I missed something this obvious but I'll fix this tonight.

from doc-en.

junichi11 avatar junichi11 commented on August 22, 2024

Thank you for fixing it :)

from doc-en.

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.