The settings listed below apply globally and can be set from the command line or from a configuration file. They are used to configure options and otherwise control the generation process.
In addition to the optional settings listed below, you should also set a host with the following code in your configuration file:
Settings[Keys.Host] = "mysite.com";
While most generated links are relative to ensure local testing works, some links need to be absolute such as feeds. This setting ensures the correct URL is generated for those links.
-
DocsKeys.AssemblyFiles:System.StringorIEnumerable<string>Indicates where to locate assemblies for the API documentation. You can specify one (or more) globbing pattern(s).
-
DocsKeys.AuthorPageSize:System.Int32The page size for blog author index pages (the default is 5).
-
DocsKeys.AutoLinkTypes:System.BooleanControls whether type names from the API enclosed in code fences (simple class name between back-ticks or full code fence (three ticks before and after) without any language specification) in either blog posts or content pages should be automatically linked to the corresponding API documentation page (the default is
true). -
DocsKeys.BaseEditUrl:System.StringThe base URL for generating edit links for content and blog pages. The edit link combines this base URL with the relative path of the input file.
-
DocsKeys.BlogAtomPath:Wyam.Common.IO.FilePathorSystem.StringSpecifies the path where the blog Atom file will be output. The default value is
feed.atom. Set tonullto prevent generating an Atom feed. -
DocsKeys.BlogPageSize:System.Int32The page size for blog index pages (the default is 5).
-
DocsKeys.BlogPath:Wyam.Common.IO.DirectoryPathorSystem.StringControls the parent path where blog posts are placed. The default is "blog". This affects both input and output files (I.e., if you change this your input files must also be under the same path).
-
DocsKeys.BlogRdfPath:Wyam.Common.IO.FilePathorSystem.StringSpecifies the path where the blog RDF file will be output. The default value is
nullwhich prevents generating an RDF feed. -
DocsKeys.BlogRssPath:Wyam.Common.IO.FilePathorSystem.StringSpecifies the path where the blog RSS file will be output. The default value is
feed.rss. Set tonullto prevent generating an RSS feed. -
DocsKeys.BlogTitle:System.StringSpecifies the blog title. The default value is
Blog. -
DocsKeys.CaseInsensitiveAuthors:System.BooleanSet to
trueto make author groupings case-insensitive. -
DocsKeys.CaseInsensitiveCategories:System.BooleanSet to
trueto make category groupings case-insensitive. -
DocsKeys.CaseInsensitiveTags:System.BooleanSet to
trueto make tag groupings case-insensitive. -
DocsKeys.CategoryPageSize:System.Int32The page size for blog category index pages (the default is 5).
-
DocsKeys.IgnoreFolders:System.StringorIEnumerable<string>This should be a string or array of strings with the name(s) of root-level folders to ignore when scanning for content pages. Setting this global metadata value is useful when introducing your own pipelines for files under certain folders and you don't want the primary content page pipelines to pick them up.
-
DocsKeys.IncludeDateInPostPath:System.BooleanSetting this to
trueuses the year and date in the output path of blog posts. The default value isfalse. -
DocsKeys.IncludeGlobalNamespace:System.BooleanControls whether the global namespace is included in your API documentation.
-
DocsKeys.Logo:Wyam.Common.IO.FilePathThe path to a logo to use for the site.
-
DocsKeys.MarkdownConfiguration:System.StringSet this to control the activated set of Markdown extensions for the Markdig Markdown renderer. The default value is "advanced+bootstrap".
-
DocsKeys.MarkdownExtensionTypes:System.Collections.Generic.IEnumerable`1Set this to add extension Markdown extensions for the Markdig Markdown renderer. The default value is null;
-
DocsKeys.MarkdownPrependLinkRoot:System.BooleanSet to
trueto prepend a configuredLinkRootto all root-relative Markdown links. -
DocsKeys.MetaRefreshRedirects:System.BooleanSet to
true(the default value) to generate meta refresh pages for any redirected documents (as indicated by aRedirectFrommetadata value in the document). -
DocsKeys.MonthPageSize:System.Int32The page size for blog monthly index pages (the default is 5).
-
DocsKeys.NetlifyRedirects:System.BooleanSet to
true(the default value isfalse) to generate a Netlify_redirectsfile from redirected documents (as indicated by aRedirectFrommetadata value). -
DocsKeys.ProcessIncludes:System.BooleanIndicates that include statements should be processed using the
Wyam.Core.Modules.IO.Includemodule. The default behavior is to process all includes. -
DocsKeys.ProjectFiles:System.StringorIEnumerable<string>Indicates where to locate project files for the API documentation.
-
DocsKeys.SearchIndex:System.BooleanSet to
falseto prevent a search index for API types from being generated and presented on the API pages. -
DocsKeys.SolutionFiles:System.StringorIEnumerable<string>Indicates where to locate solution files for the API documentation.
-
DocsKeys.SourceFiles:System.StringorIEnumerable<string>Indicates where to locate source files for the API documentation. By default the globbing pattern "src/**/{!bin,!obj,!packages,!*.Tests,}/**/*.cs" is used which searches for all "*.cs" files at any depth under a "src" folder but not under "bin", "obj", "packages" or "Tests" folders. You can specify your own globbing pattern (or more than one globbing pattern) if your source files are found elsewhere.
-
DocsKeys.TagPageSize:System.Int32The page size for blog tag index pages (the default is 5).
-
DocsKeys.Title:System.StringThe title of the site.
-
DocsKeys.ValidateAbsoluteLinks:System.BooleanSet to
true(the default value isfalse) to validate all absolute links. Note that this may add considerable time to your generation process. -
DocsKeys.ValidateLinksAsError:System.BooleanSet to
true(the default value isfalse) to report errors on link validation failures. -
DocsKeys.ValidateRelativeLinks:System.BooleanSet to
true(the default value) to validate all relative links. -
DocsKeys.YearPageSize:System.Int32The page size for blog yearly index pages (the default is 5).
Note that this list isn't exhaustive. Some modules used by the recipe may have their own settings that you can set as well. General settings are also available to every recipe.
