| 1 | 1 | ▶ | |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | ### Generated by Statocles version <%= $Statocles::VERSION %> | ||
| 3 | |||
| 4 | # This is the site configuration file. The format is YAML, and the config is | ||
| 5 | # read by Beam::Wire, a dependency-injection library that builds complete | ||
| 6 | # objects. For full details on how to edit this file, see | ||
| 7 | # Statocles::Help::Config. | ||
| 8 | # | ||
| 9 | # This file contains configuration for objects. Each object has a name, like | ||
| 10 | # "site", "theme", or "blog_app". This name can be used to refer to the object | ||
| 11 | # later, for example, using "$ref: name". | ||
| 12 | # | ||
| 13 | # Every object has a "class". Developers can customize behavior by changing the | ||
| 14 | # class or creating their own classes. If you need help with an object, look at | ||
| 15 | # the class's documentation. | ||
| 16 | # | ||
| 17 | # Every object has "args", which are the object's attributes. See the class's | ||
| 18 | # documentation for a full list of attributes and what they do. | ||
| 19 | # | ||
| 20 | # Many objects have events. Event handlers can be configured using the "on" | ||
| 21 | # key. See the class's documentation for a list of possible events. Every | ||
| 22 | # event handler should have at least "$class" and a "$sub". "$class" is the | ||
| 23 | # plugin class. "$sub" is the plugin method to run. If necessary, you can | ||
| 24 | # add "$args" to configure the plugin object. | ||
| 25 | |||
| 26 | # site: This is the main site object. Site objects handle building and | ||
| 27 | # deploying, and store global site data like themes and navigation. See | ||
| 28 | # Statocles::Site for a full list of attributes and what they do. | ||
| 29 | site: | ||
| 30 | $class: 'Statocles::Site' | ||
| 31 | |||
| 32 | # title: This is the title of the site, shown in the <title> tag | ||
| 33 | title: 'My Statocles Site' | ||
| 34 | |||
| 35 | # base_url: This is the base URL the site will be deployed to. It | ||
| 36 | # should be a full URL, and may contain a path, like: | ||
| 37 | # | ||
| 38 | # http://example.com/username | ||
| 39 | # | ||
| 40 | # If the base_url contains a path, all internal links will be | ||
| 41 | # rewritten appropriately. | ||
| 42 | base_url: '<%= $site->{base_url} %>' | ||
| 43 | |||
| 44 | # apps: These are the applications in this site. The name of the app, | ||
| 45 | # "blog" is used to refer to it in commands. | ||
| 46 | apps: | ||
| 47 | |||
| 48 | # blog: This is the blog app | ||
| 49 | blog: | ||
| 50 | $ref: 'blog_app' | ||
| 51 | |||
| 52 | # plugins: These are plugins that can add features and alter the | ||
| 53 | # content of the site. | ||
| 54 | plugins: | ||
| 55 | link_check: | ||
| 56 | $class: 'Statocles::Plugin::LinkCheck' | ||
| 57 | |||
| 58 | # theme: The theme builds and manages the templates. Use themes to | ||
| 59 | # change how your site looks. | ||
| 60 | theme: | ||
| 61 | $ref: 'theme' | ||
| 62 | |||
| 63 | # index: The path to the page that should be used for the site index. | ||
| 64 | index: '<%= $site->{index} %>' | ||
| 65 | |||
| 66 | # nav: These are lists of navigation links used by the theme. | ||
| 67 | # Navigations are used to move between applications, or to go to | ||
| 68 | # specific, important pages. | ||
| 69 | # | ||
| 70 | # The "main" nav is the primary navigation for the site. Every theme | ||
| 71 | # should have this one. | ||
| 72 | # | ||
| 73 | # Each nav consists of an array of links. See the Statocles::Link class | ||
| 74 | # for a list of attributes and what they mean. The most important are | ||
| 75 | # "text", the text of the link, and "href", the URL to link to. | ||
| 76 | nav: | ||
| 77 | main: | ||
| 78 | % for my $link ( @{ $site->{nav}{main} // [] } ) { | ||
| 79 | - text: '<%= $link->{text} %>' | ||
| 80 | href: '<%= $link->{href} %>' | ||
| 81 | % } | ||
| 82 | |||
| 83 | # deploy: This is the deploy object, used to deploy this site. | ||
| 84 | deploy: | ||
| 85 | $ref: 'deploy' | ||
| 86 | |||
| 87 | # theme: These are the settings for the theme. See Statocles::Help::Theme for | ||
| 88 | # more information, and Statocles::Theme for a full list of attributes and what | ||
| 89 | # they do | ||
| 90 | theme: | ||
| 91 | $class: 'Statocles::Theme' | ||
| 92 | # store: The store points to the directory where the theme's | ||
| 93 | # templates are kept. Under-the-hood, this is a Statocles::Store | ||
| 94 | # object. | ||
| 95 | # | ||
| 96 | # Themes have a special syntax to refer to themes that come bundled with | ||
| 97 | # Statocles. See Statocles::Help::Theme for more information | ||
| 98 | store: '<%= $theme->{store} %>' | ||
| 99 | |||
| 100 | # deploy: These are the settings for the site's deploy. See Statocles::Deploy::File | ||
| 101 | # for a full list of attributes and what they do. | ||
| 102 | deploy: | ||
| 103 | $class: '<%= $deploy->{'$class'} %>' | ||
| 104 | % for my $k ( keys %{ $deploy } ) { | ||
| 105 | <%= $k %>: '<%= $deploy->{$k} %>' | ||
| 106 | % } | ||
| 107 | |||
| 108 | #---------------------------------------------------------------------------- | ||
| 109 | # Applications | ||
| 110 | #---------------------------------------------------------------------------- | ||
| 111 | # | ||
| 112 | # All applications have a "url_root" attribute, which is the root URL of the | ||
| 113 | # app. All the app's pages will be found in this path in your site. | ||
| 114 | |||
| 115 | # blog_app: These are the settings for the blog application. | ||
| 116 | blog_app: | ||
| 117 | $class: 'Statocles::App::Blog' | ||
| 118 | url_root: '/blog' | ||