cfdocs icon indicating copy to clipboard operation
cfdocs copied to clipboard

All CFML Functions

Open shaedrich opened this issue 8 years ago • 6 comments

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

  • https://cfdocs.org/functions
  • https://cfdocs.org/all Both views are identical, aren't they?

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:

shaedrich avatar Aug 24 '17 14:08 shaedrich

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.

pfreitag avatar Aug 25 '17 18:08 pfreitag

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 avatar Aug 25 '17 21:08 shaedrich

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

shaedrich avatar Aug 25 '17 23:08 shaedrich

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

pfreitag avatar Aug 29 '17 18:08 pfreitag

Could the bug be caused by findCategory()?

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

shaedrich avatar Aug 29 '17 21:08 shaedrich

@shaedrich yeah the bug is probably in findCategory

pfreitag avatar Aug 31 '17 17:08 pfreitag