Commit graph

676 commits

Author SHA1 Message Date
digitalcraftsman 47587321d9 Add themesDir option to configuration
themesDir can be used to change the default
path of the themes folder.

Fixes 1556
2016-01-01 14:46:40 -05:00
digitalcraftsman b56362defd Docs: add hugodeploy to tools section 2015-12-31 14:38:09 -07:00
ominty 3b2a78ba10 Add to press.md Beginners Tutorial for Hugo (German) 2015-12-31 14:34:49 -07:00
digitalcraftsman fc627d5553 Docs: remove unnecessary --watch flag 2015-12-26 20:03:23 -07:00
digitalcraftsman 796ef3a335 Docs: add cross-references to installation guides 2015-12-26 20:03:23 -07:00
Igor Kulman cd54042c76 Add Coding Journal (blog.kulman.sk) to the Showcase 2015-12-25 04:12:17 -07:00
Anthony Fok cb8f459127 Docs: Add nohighlight shortcode and improve formatting
And some random formatting and copyediting fixes.

See also #1708
2015-12-23 09:31:07 -07:00
Anthony Fok 22bd485072 Docs: Add lang attribute to Chinese and Japanese Press entries
This helps the web browser display the article titles and author names
with the correct CJK glyph variants.
2015-12-23 03:40:52 -07:00
Anthony Fok 7cf7f85ad6 Docs: Upgrade highlight.js to 9.0.0
with the following added languages in anticipation of document expansion:

    apache dockerfile dos less php powershell python tex yaml

To reproduce docs/static/js/highlight.pack.js on Debian/Ubuntu:

    $ sudo apt-get install nodejs npm
    $ wget https://github.com/isagalaev/highlight.js/archive/9.0.0.tar.gz
    $ tar xzf 9.0.0.tar.gz
    $ cd highlight.js-9.0.0/
    $ npm install
    $ nodejs tools/build.js markdown asciidoc xml css javascript \
      ini yaml json go bash diff dockerfile dos powershell makefile \
      apache nginx tex http php python ruby django haml handlebars \
      scss less coffeescript

Then, copy the resulting build/highlight.pack.js as well as
src/styles/monokai-sublime.css to the appropriate Hugo docs directories.
2015-12-22 13:54:35 -07:00
Anthony Fok df92a6b998 Docs: Upgrade InstantClick from 3.0.1 to 3.1.0
Note: It is not currently used on http://gohugo.io/
2015-12-21 17:28:06 -07:00
Anthony Fok aee92f2aee Docs: Upgrade livereload.js from post-2.0.8 to 2.2.1
Note: It is not currently used on http://gohugo.io/
2015-12-21 17:27:43 -07:00
Anthony Fok 23abad7b1d Docs: Upgrade Owl Carousel to 2.0.0-beta.3 (2015-06-19)
Downloaded from
http://smashingboxes.github.io/OwlCarousel2/download/owl.carousel.2.0.0-beta.3.zip

Also modify /index.html to use minified version of CSS files.
2015-12-21 13:21:42 -07:00
Anthony Fok 4b521b4ffb Docs: Upgrade jquery.scrollTo from 1.4.6 to 2.1.2 2015-12-21 12:54:47 -07:00
Anthony Fok cca49ad01d Docs: Correct file permissions from 0755 to 0644 2015-12-21 12:40:08 -07:00
Anthony Fok f6f0111db6 Docs: Rebase bootstrap-gohugo.css on Bootstrap v3.3.6
It was previously based on a customized version of bootstrap.css
from Bootstrap v3.0.0.

Also add a brief copyright notice and description.
2015-12-21 12:12:12 -07:00
Anthony Fok 883431442d Docs: Rename bootstrap-theme.css to bootstrap-gohugo.css
because our bootstrap-theme.css was originally a customized
core bootstrap.css file from Bootstrap v3.0.0.

This rename helps to avoid confusion with Bootstrap’s official
bootstrap-theme.css files.
2015-12-21 12:04:11 -07:00
Anthony Fok ad6717bd11 Docs: Upgrade Bootstrap from v3.2.0 to v3.3.6
Fonts and JavaScript files only
2015-12-21 11:57:55 -07:00
Anthony Fok f8f128a08a Docs: Remove octicons fonts
The GitHub octicons fonts, which, in our case, came with GitHub:buttons,
are not actually used on gohugo.io.  Rather, the icons inside the GitHub
buttons are actually glyphs from Font Awesome.
2015-12-21 03:28:07 -07:00
Anthony Fok 7c84ad56cb Docs: Remove unused GitHub:buttons files
The GitHub:buttons JavaScript code docs/static/js/buttons.js
from https://github.com/ntkme/github-buttons was referenced
in docs/layouts/partials/footer.html but never used.

Apparently, the actual code for the GitHub buttons on the upper-left
corner of gohugo.io documentation was written by @spf13 in
docs/static/js/scripts.js.
2015-12-20 13:18:18 -07:00
Anthony Fok 217d25f560 Docs: Upgrade Font Awesome from 4.1.0 to 4.5.0
From https://fortawesome.github.io/Font-Awesome/assets/font-awesome-4.5.0.zip
2015-12-19 14:47:26 -07:00
Anthony Fok a84d82121a Upgrade jQuery 2.1.1 to 2.1.4 in doc 2015-12-19 12:19:26 -07:00
Anthony Fok f24ffc9c3d Docs: Allow HTML in Showcase titles
This allows, for example, marking with the lang attribute
so that the correct CJK glyph variants are displayed.
2015-12-19 06:15:08 -07:00
Anthony Fok a1d232f4b6 Docs: Make <hr> slightly darker on gohugo.io 2015-12-19 05:11:54 -07:00
Anthony Fok 00fc038da7 Document 32-bit hugo server crash in v0.15 Release Note
See #1716
2015-12-19 04:33:45 -07:00
Salar Rahmanian 5af8cc2970 Add gadgetplayboy.com to Showcase and an article to Press 2015-12-19 01:05:03 -07:00
digitalcraftsman 32da9b20bc Docs: add hugo-lambda to tools section 2015-12-17 10:28:52 -07:00
Anthony Fok 705104338e Docs: Enhance contrast and increase font-weight
Also replace 'Courier New' with newer monospace fonts,
and make font in main text slightly smaller to better fit
smaller screen.

See #1678.
2015-12-16 19:10:46 -07:00
Anthony Fok 868e4798d5 Fix formatting of "Installing on Windows" tutorial 2015-12-16 18:43:55 -07:00
Anthony Fok 67b4c52466 Regenerate the commands section of doc
Reason: The `--source` flag was added back to the `hugo new` commands
in commit c1e134f.

See #1624, #1589
2015-12-16 09:26:06 -07:00
digitalcraftsman 78576019cf Docs: reference Jekyll import command in tools section 2015-12-16 00:00:05 -07:00
digitalcraftsman ebc187b480 Docs: add Contentful converter to tools section 2015-12-16 00:00:05 -07:00
Anthony Fok d5ebf64836 Remove/update outdated links in Press and Showcase 2015-12-13 05:57:18 -07:00
Maxime Michel 38c5db98b5 Added a missing closing tag 2015-12-11 10:51:17 -07:00
Anthony Fok f22d59bb19 Revise docs/content/tools/index.md (minor fixes) 2015-12-11 10:49:38 -07:00
Michael Holt 1469ce0edf Remove Duplicate "Editor Plugins" Section
Editor Plugins was repeated a second time. with identical content
2015-12-11 10:36:21 -07:00
Cameron Moore 280b2f294e Document PreserveTaxonomyNames
Fixes #1648
2015-12-11 10:17:26 -07:00
Anthony Fok 4a2623c899 Regenerate the commands section of doc
See #1624
2015-12-11 09:50:36 -07:00
Cameron Moore 768370a503 Docs: remove references to dynamic CMS products
There's no need to call out other projects here, especially when we might
mischaracterize what they do.

See #1688
2015-12-11 09:25:00 -07:00
Cameron Moore 9ae07c4f21 Docs: document Node.IsHome 2015-12-11 09:18:05 -07:00
Anthony Fok f363faadab Add a number sign "#" before a GitHub issue number
to make it more readily recognizable.
2015-12-02 13:11:24 -07:00
Cameron Moore 6812229bb8 Add gh shortcode to docs site
The `gh` shortcode has two modes: users and issues.  For user mode, pass a list
of `@username` arguments.  For the issues/PR mode, pass a list of issue or PR
numbers.  PRs link to the "issues/" URL since Github redirects to the correct
URL.

Thanks to @ryanclarke for suggesting an improved template.
2015-12-02 12:18:04 -07:00
tryer3000 6959b7fa80 Update external tutorial links in usage.md 2015-12-02 07:03:54 -07:00
Takeru Naito c5e68ba197 Fix typo in "Creating a New Theme"
the the skeleton's ->
the theme skeleton's
2015-12-01 00:13:48 -07:00
David Oliver 91771ee3b6 Add Draft page variable to docs
Also tweaks language used in page params sentence.
2015-11-30 23:38:34 -07:00
Gustav Näslund b0b6a8c7ac Use .Site.Pages in the documentation examples instead of .Site.Recent 2015-11-30 23:31:18 -07:00
Valentin Vago d7ef272a23 Add Camunda blog and docs showcases 2015-11-30 23:16:58 -07:00
Anthony Fok b557f6249f Change plainIdAnchors to plainIDAnchors in docs
Also add a note saying that these blackfriday flags are
very case-sensitive as of Hugo v0.15.

Thanks to @ryanclarke for noticing the change in behaviour.

See also spf13/hugo@5838420
2015-11-30 00:19:04 -07:00
Anthony Fok 249cd62541 Copyedit the shortcodes documentation some more 2015-11-29 23:23:25 -07:00
digitalcraftsman 2e3d5c2df6 Docs: improve shortcodes page
See #1613
2015-11-29 22:01:31 -07:00
Anthony Fok cf732940a3 Remove an erroneous "$" prompt in quickstart guide 2015-11-29 21:43:49 -07:00