%% @author Marc Worrell %% @copyright 2009-2026 Marc Worrell %% @doc Support functions for site development and introspection of the %% live system for template and database query tracing. %% @end %% Copyright 2009-2026 Marc Worrell %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. %% You may obtain a copy of the License at %% %% http://www.apache.org/licenses/LICENSE-2.0 %% %% Unless required by applicable law or agreed to in writing, software %% distributed under the License is distributed on an "AS IS" BASIS, %% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. %% See the License for the specific language governing permissions and %% limitations under the License. -module(mod_development). -moduledoc(" Presents various tools for development. Admin page ---------- After the development module is enabled a menu item Development is added to the System menu in the admin. On the development page it is possible to set debugging options, trace template compilation, and test dispatch rules. ### Options This can toggle various development options: Show paths to included template files in generated templates Checking this will add comments in the compiled templates. The comments will list the exact file included at that point. Show defined blocks in generated templates Checking this will add comments in the compiled templates. The comments will show the start and end of any template `{% block %} ... {% endblock %}`. Download css and javascript files as separate files (ie. don’t combine them in one url). Checking this will generate separate `` and `