hugo/hugolib
Bjørn Erik Pedersen 36f2a1f676 Make the config loading testable
This is needed to verify  #2309, but it closes a big hole in Hugo's automated tests.

The loading of the config is now moved to `hugolib` and the same default settings are now used
in production and tests.

As Viper now uses Afero as its filesystem, we now can write fairly complete integration tests with ease.

See #2309
2016-09-06 18:32:17 +03:00
..
author.go
benchmark_test.go
config.go Make the config loading testable 2016-09-06 18:32:17 +03:00
config_test.go Make the config loading testable 2016-09-06 18:32:17 +03:00
datafiles_test.go Introduce HugoSites type 2016-09-06 18:32:16 +03:00
embedded_shortcodes_test.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00
handler_base.go
handler_file.go helpers: Remove ToReader funcs 2016-06-25 17:57:05 -05:00
handler_meta.go Render the shortcodes as late as possible 2016-09-06 18:32:16 +03:00
handler_page.go Render the shortcodes as late as possible 2016-09-06 18:32:16 +03:00
handler_test.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00
hugo_info.go Move HugoSites to hugolib 2016-09-06 18:32:16 +03:00
hugo_sites.go Add sitemap index for multilingual sites 2016-09-06 18:32:17 +03:00
hugo_sites_test.go Make the config loading testable 2016-09-06 18:32:17 +03:00
i18n.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00
media.go
menu.go
menu_test.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00
multilingual.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00
node.go Rework the multilingual docs 2016-09-06 18:32:17 +03:00
node_test.go
page.go Render the shortcodes as late as possible 2016-09-06 18:32:16 +03:00
page_permalink_test.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00
page_taxonomy_test.go
page_test.go Render the shortcodes as late as possible 2016-09-06 18:32:16 +03:00
page_time_integration_test.go
pageCache.go
pageCache_test.go
pageGroup.go hugolib: Add GroupByExpireDate function 2016-06-14 15:45:26 +02:00
pageGroup_test.go hugolib: Add GroupByExpireDate function 2016-06-14 15:45:26 +02:00
pageSort.go Add Translations and AllTranslations methods to Page 2016-09-06 18:32:15 +03:00
pageSort_test.go
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go Add Translations and AllTranslations to Node 2016-09-06 18:32:16 +03:00
pagination_test.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00
path_separators_test.go
path_separators_windows_test.go
permalinks.go Add multilingual support in Hugo 2016-09-06 18:32:15 +03:00
permalinks_test.go
planner.go Add multilingual support in Hugo 2016-09-06 18:32:15 +03:00
redis.cn.md
robotstxt_test.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00
rss_test.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00
scratch.go
scratch_test.go
shortcode.go Render the shortcodes as late as possible 2016-09-06 18:32:16 +03:00
shortcode_test.go Render the shortcodes as late as possible 2016-09-06 18:32:16 +03:00
shortcodeparser.go
shortcodeparser_test.go
site.go Add sitemap index for multilingual sites 2016-09-06 18:32:17 +03:00
site_show_plan_test.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00
site_test.go Render the shortcodes as late as possible 2016-09-06 18:32:16 +03:00
site_url_test.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00
siteJSONEncode_test.go
sitemap.go
sitemap_test.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00
summary.go
taxonomy.go
taxonomy_test.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00
translations.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00