Commit Graph
19 Commits
Author SHA1 Message Date
Andrew Miner 775da32510 Always show the description section on item page 2015-05-29 18:01:15 -07:00
Andrew Miner 2b0584935c Bug: Ensure state happen at the correct times 2015-05-13 12:47:37 -07:00
Andrew Miner 23e98f5d31 Allow new item description files to be created 2015-05-11 09:20:42 -07:00
Andrew Miner 8eb5cef71b Allow submitting changes for item desc. to GitHub 2015-05-08 16:16:17 -07:00
Andrew Miner 8b94f432b0 Update MarkdownSectionController with support for editing
This allows the MarkdownSectionController and ItemPageController to
work together to begin an editing session for an item description.
2015-05-07 11:19:36 -07:00
Andrew Miner 54194d3f0a WIP 2015-05-05 14:01:39 -07:00
Andrew Miner 930b8049a2 Convert site to a single JavaScript archive
* Convert build to use a single JavaScript file on the site (instead
  of downloading each library separately). This also means that all
  global variables (e.g., `$` for JQuery, `_` for Underscore.js) can
  be removed.
* Remove unused scripts and/or move them to a more appropriate repo
* Update the `deploy` script to work with CircleCI's automation
* Update markdown display code to allow images to be located with the
  markdown data files instead of the pre-rendered index pages
2015-04-29 19:58:53 -07:00
Andrew Miner 0b043b9677 Use MarkdownSectionController on item page 2015-04-03 18:01:38 -07:00
Andrew Miner 96ddd1bd4d Update markdown parsing to allow wiki links
Any link inside a item detail page's markdown description which does
not have a URL will be assumed to be the name of an item covered by
Crafting Guide and an URL will be added to reference the appropiate
browse page.
2015-03-24 17:12:25 -07:00
Andrew Miner 40efc8ccc9 Fix various small issues from animation changes 2015-03-21 19:48:18 -07:00
Andrew Miner 9956e64af0 Replace jQuery animations with CSS animations 2015-03-21 19:00:46 -07:00
Andrew Miner 57342bfbfa Don't show empty item detail page for disabled mod
When a mod is disabled, a naïve search for the item will yield an
empty set. Instead, ignore whether a mod is disabled when looking for
the principle item for a given page.
2015-03-13 18:32:16 -07:00
Andrew Miner 9ef8480da8 Add item descriptions for some BuildCraft items 2015-03-13 18:21:54 -07:00
Andrew Miner 0525f49008 Show official URL on item detail page 2015-03-12 22:33:42 -07:00
Andrew Miner 9ac8593ba3 Add ability to display videos in item pages 2015-03-12 21:54:06 -07:00
Andrew Miner 50c3d95440 Only load Adsense in prod. and reset on each page 2015-03-10 21:34:41 -07:00
Andrew Miner ee75415729 Allow each mod to have a default version
When a visitor arrives at the site for the first time, this will
ensure they have a certain set of mods on/off. Right now, that means
IC2-Classic is off by default, and everything else is on.
2015-03-10 09:57:23 -07:00
Andrew Miner ff17d5f9ba Show markdown description text on item detail page
* Update build process to *not* copy over prerendered pages during a
  regular build (only during a `dist` build)
* Add dependency on npm "markdown" package and include it in the
  scripts loaded in the default layout
* Update the Item model to be able to load from a *.cg file
* Add an ItemParser to process the `item.cg` file
* Update the general parser to be able to work with HereDoc-style
  text blocks
* Add a markdown-specific stylesheet
* Add a sample of the `item.cg` file format (Advanced Crafting Table)
2015-03-08 22:24:15 -07:00
Andrew Miner 0a6c185965 Restructure static files into a single directory 2015-03-08 15:05:24 -07:00