Repository for the site.
ColdFusion JavaScript CSS Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
assets Fix newlines in case of multiple function signatures Feb 16, 2018
data Added dollarFormat rounding bug link Jul 9, 2018
guides/en Section "Additional statements" Mar 26, 2018
lib fixed issue with missing descriptions. Oct 15, 2016
reports Fix Conflicts Jun 7, 2018
tests Merge pull request #678 from shaedrich/patch-10 Mar 12, 2018
utilities Add components to index via indexer Dec 5, 2017
views Update markdown.cfm Mar 26, 2018
.gitignore Changing the listGetAt documentation to include the includeEmptyValue… Sep 28, 2017
.htaccess Redirect application.cfc to the doc Feb 8, 2017
.travis.yml Use text error formatting Oct 9, 2017
404.cfm Added some suggestions to 404 page Jul 9, 2015
Application.cfc Fix isSimpleValue examples Dec 8, 2017 Maybe the parser only accepts ordered list with numbers followed by a… Mar 12, 2018
LICENSE * Updated hash docs and redirect rules Oct 3, 2013 Add CFEclipse under ide integration Jul 9, 2018
apple-touch-icon.png Adds favicon and apple touch icon Jan 24, 2014
box.json Fix for boolean tests Dec 8, 2017
contributors.cfm gitHub contributors statistics processor Sep 9, 2016
doc.cfm Fix guides git path Mar 26, 2018
favicon.ico Adds favicon and apple touch icon Jan 24, 2014
index.cfm initial code Oct 3, 2013
opensearch.xml Add OpenSearch description document Sep 23, 2016
rewrites.xml Redirect application.cfc to the doc Feb 8, 2017
robots.txt Added robots.txt Aug 17, 2016
server-start.boxr Asset versioning Jul 16, 2015
server.json Fix bugs in tag doc view Mar 12, 2018 Added testbox / travis CI support Sep 10, 2015
trycf.cfm Fix trycf and default to cf2016 Feb 18, 2016
ucase.cfm Upper/Camel Case update Oct 8, 2015
web.config.sample Fixed spacing to match rest of document Nov 24, 2015


CFDocs is a community maintained CFML reference tool available at It features:

  • Hosting on Amazon CloudFront CDN for fast responses around the globe. Sponsored by Foundeo Inc..
  • Easy to use urls like: just hit /tag-name or /function-name.
  • Publicly maintained on GitHub

Build Status

How reference data is structured

All of the tag and function documentation are defined in json files under data/en/functionname.json function example tag example.

This makes the documentation super easy to edit and allows developers to run a local version of the site "out of the box" since no database setup is required.

Running CFDocs locally for dev or pleasure

Running CFDocs Locally

The site can run locally very easily thanks to CommandBox.

  1. Go download CommandBox if you do not have it already.
  2. Download this repository and extract it to a folder, or clone it from this repository. If you are going to be making changes to the docs I would suggest you fork it, see Adam Tuttle's guide: GitHub tip for your first pull request
  3. Run box server start from Command Prompt or Terminal in the root directory.

CommandBox will start an embedded CFML server on port 8411, and you can browse to http://localhost:8411/ to view the docs.

If you don't want to go the commandbox route you can simply download it and unzip it to a web root and try it out (requires CF10+ or Lucee 4.5+), but you will probably spend more time trying to get it working than the 1-2 minutes it will take to download and learn how to use commandbox.

How to contribute

If you are interested in helping you can just copy a tag or function and write up some documentation. The documentation doesn't need to be super wordy and should not be a copy of Adobe's documentation word for word. is meant to be a quick reference so keep it short and sweet. E.g. attribute names / function arguments and one two sentence descriptions.

The easy way to edit the docs

  1. Browse the data/en/ folder of this repository on github and find the tag or function you want to edit.
  2. Click the edit button (pencil)
  3. Commit / Send a pull request.

The better way to edit the docs

  1. fork the project to your GitHub account need help? read this: GitHub tip for your first pull request
  2. clone it locally
  3. make your changes
  4. test it locally using commandbox (see above)
  5. once you are done you can send a pull request, and I'll merge it into the main repository.

Not sure what you can contribute?

We need help expanding existing tag and function documentation. Look through the reference pages till you find one needing more definitions or examples. Also see:

JSON File Documentation

    "syntax":"Tag(arg)|<cftag attr=1>",
    "description":"A short description that describes what the tag or function does.",
    "discouraged":"Only add this key if this tag/function is discouraged by the community.",
        {"name":"funcArgNameOrTagAttributeName", "description":"What it does", "required":true, "default":"false", "type":"boolean", "values":["true", "false"]}
        "coldfusion":{"minimum_version":"10", "notes":"CF Specific Info Here", "docs":""},
        "railo":{"minimum_version":"4.1", "notes":"Railo Specific Here", "docs":""},
        "lucee":{"minimum_version":"4.5", "notes":"Lucee Specific Info Here", "docs":""}
            "title":"Title of a blog entry that has good info about this.",
            "description":"Description of the link",
            "title":"Name of the code example",
            "description":"Description of the code example",
            "result":"The expected output of the code example",

The name of the tag or function, use lowercase.


Either function or tag or listing a listing is how categories are made, they simply contain a name, description, and a list of related


The basic syntax of the tag or function


For tags, shows how the tag would be invoked from cfscript.


For functions, shows the available member function syntax.


The returntype of a function.


An array of tag or function names that are related to this item.


A short description of the item.


If this key exists and has content a warning is displayed stating that the tag or function is discouraged by the CFML community.


Array of structures containing information about the attributes of a tag, or arguments of a function.


CFML engine implementation specific info goes here, for example if it was added in CF10 and Railo 4.1 you can add that in minimum_version if something was changed in CF11, you can add notes about what changed. The docs key should point to a url for vendor documentation.


Use this to link to blog entries or other useful related content.


Show example code. It is very helpful to readers to use the result to show the expected result of the code sample when applicable. This has to be JSON, so you can to do \n for newline, double quotes must be escaped \". The runnable is a boolean that determines if the Run Code button shows up next to the example.

We have an example JSON utility that can be used to create the JSON by filling out a form.

Please see the cfdocs contributor guide for frequently asked questions.

IDE Integration

There are several CFML code editors that utilize the cfdocs repository to provide documentation within the editor.

Sublime Text

Install the CFML Package for Sublime Text 3: the plugin will provide inline documentation when hovering the mouse over a tag or function, or when or typing code.

Visual Studio Code

Install the CFML Plugin from KamasamaK:


Requires the vim-shell plugin:

function! CFDocsSearch()
   let wordUnderCursor = expand("<cword>")
   execute 'Open' . wordUnderCursor

command! -nargs=0 CFdocs :call CFDocsSearch()


Hit F1 when the cursor is on a tag or function to be taken to the doc.