foundeo / cfdocs

Repository for the cfdocs.org site.
https://cfdocs.org/
Other
184 stars 344 forks source link

All CFML Functions #516

Open shaedrich opened 7 years ago

shaedrich commented 7 years ago

I wonder why I can access the "All CFML Functions" view via two different urls:

And why is it named "CFML"? Of course tags can only be CFML, but functions can be both CFML and cfscript.

For example, "Math Functions" breadcrumbs look different:

pfreitag commented 7 years ago

Hmm not sure why both functions and all are there... I have to see if there was a reason for that.

I consider cfscript to be a subset of CFML.

shaedrich commented 7 years ago

Could be confusing though...

I that case either "all" and "CFML" shouldn't both exist or "CFML" must be renamed. What do you think?

shaedrich commented 7 years ago

But you do not distinguish between CFML and cfscript, but rather between tags and functions.

pfreitag commented 7 years ago

The All CFML Functions in the math function is not really necessary, that looks like a bug... I think it should be just CFDocs > Functions > Math Functions

shaedrich commented 7 years ago

Could the bug be caused by findCategory()?

https://github.com/foundeo/cfdocs/blob/380763185c3337bfd0ae0e717e23f902e9fbe832/Application.cfc#L97-L123

pfreitag commented 7 years ago

@shaedrich yeah the bug is probably in findCategory