Commit Graph
78 Commits
Author SHA1 Message Date
Andrew Miner 0a797df95b Remove debug logging 2015-03-20 19:54:35 -07:00
Andrew Miner b18e2e8c08 Fix sort order problem for mods 2015-03-20 19:51:55 -07:00
Andrew Miner 14cee92883 Merge branch 'andrewminer-tutorial-pages' into andrewminer-thermal-dynamics 2015-03-20 19:21:25 -07:00
Andrew Miner 5f9f28eecb Add ThermalDynamics 2015-03-20 19:21:10 -07:00
Andrew Miner 2faf4bfe7f Add videos section to tutorial page 2015-03-20 14:05:21 -07:00
Andrew Miner e58cc28815 Fix bug in here-doc parsing
When a here-doc contains an empty line, any whitespace it contains
should be ignored for purposes of determining the amount of leading
whitespace to trim from each line.
2015-03-20 14:02:58 -07:00
Andrew Miner 89a7f7a9d3 Initial implementation of tutorial pages 2015-03-20 12:22:01 -07:00
Andrew Miner e7723b9452 Fix reinforced obsidian recipe 2015-03-18 17:16:32 -07:00
Andrew Miner 08eba99413 Don't show recipes for similarly name items
On item detail pages for items where multiple mods add an item of the
same name, recipes for both items would incorrectly be displayed.
2015-03-13 22:09:12 -07:00
Andrew Miner c9ab80e7ab Add BigReactors 0.4.2A2 2015-03-13 21:52:55 -07:00
Andrew Miner 8894124520 Don't show pass-through recipes
A pass-through recipe is one which requires an item as input which is
carried through to the output (e.g., using a Golden Railway Ticket to
create a regular Railway Ticket in Railcraft). As these aren't really
recipes, they should not be listed as such in the item detail page.
2015-03-13 19:06:33 -07:00
Andrew Miner 1333132cd8 Remove extraneous debug logging 2015-03-13 19:06:06 -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 757e9a0857 Minor adjustments to Forestry data 2015-03-11 22:36:59 -07:00
Sheldon Griffin 0be0a15f60 Add forestry to default mod list 2015-03-11 22:36:58 -07:00
Andrew Miner 35e3712783 Bug: Make sure mod recipes for MC items show up
This fixes a regression where recipes for vanilla Minecraft items
(e.g., Iron Ingot) added by mods (e.g., Pulverized Iron to Iron
Ingot) didn't show up on that item's detail page.
2015-03-11 22:17:17 -07:00
Andrew Miner b9ced9b3d1 Fix default versions 2015-03-11 19:25:38 -07:00
Andrew Miner 1cd788586a Allow adsense/addthis in staging 2015-03-11 08:39:22 -07:00
Andrew Miner 6db25d7a77 Don't show AddThis in non-prod envs 2015-03-10 23:14: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 a2a474fb51 Update IC2 key to use existing key 2015-03-10 08:37:35 -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 6e090d3d59 Separate IC2-Classic and IC2-Exp 2015-03-08 20:39:48 -07:00
Andrew Miner 0a6c185965 Restructure static files into a single directory 2015-03-08 15:05:24 -07:00