Lucee documentation source and builder
This repository contains the source and build scripts for creating Lucee's documentation. The website output of the docs can be found at https://docs.lucee.org.
Issues can be reported and tracked at https://luceeserver.atlassian.net/projects/LD.
Find out more about the project at: https://docs.lucee.org/docs.html.
The only dependency required is CommandBox. Ensure that commandbox is installed and that the
box command is in your path.
Building the static documentation output
The purpose of the structure of the documentation is to allow a human readable and editable form of documentation that can be built into multiple output formats. At present, we have an "HTML" builder and a "Dash docs" builder, found at
./builders/dash that will build the documentation website and dash docset respectively. The source of the documentation can be found in the
To run the build, execute the
build.bat script found in the root of the project, i.e.
Once this has finished, you should find
./builds/dash directories with the website content / dash docsets built.
Running a server locally
We have provided a utility server whose purpose is to run locally to help while developing/writing the documentation. To start it up, execute the
serve.bat script found in the root of the project, i.e.
This will spin up a server using CommandBox on port 4040 and open it in your browser. You should also see a tray icon that will allow you to stop the server. Changes to the source docs should trigger an internal rebuild of the documentation tree which may take a little longer than regular requests to the documentation.
When running locally there are the following urls available
- Lucee documentation home
- Build all documentation
- Build html documentation
- Build dash documentation
- Import any new tags or functions
- View static html docs (you need to have built the html documentation first)
Working with the bundled js and css files
The build process for the js and css bundles are found under /builders/html/assets and uses sass and grunt.
Just run npm install, then run grunt.
to publish a new build of the bundles, you'll need to update
variables.assetBundleVersion in both Application.cfc and Gruntfile.js,
as the docs are statically deployed via cloudfront and versioning of these files is required to break caching.
There is a lot of work to do and we appreciate contribution in all forms. The issues list can be found and expanded upon here: https://luceeserver.atlassian.net/projects/LD
Ask questions or post suggestions over on the Lucee mailing List under the documentation category.
More information on how the documentation is built and formatted can be found at https://docs.lucee.org/docs.html.
The workflow for contributions is:
- Submit the contributor's agreement: https://docs.lucee.org/guides/get-involved/contributing-contributors-agreement.html
- Fork lucee-docs on GitHub.
- Make your changes in the master branch.
- Push your changes to your GitHub repo.
- Create a pull request.
Raise issues and suggestions
Issues and suggestions are always welcome (though pull requests are preferred!). Please use the issue tracker: https://luceeserver.atlassian.net/projects/LD.
The project is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.