HomePhabricator

Disentangle versioned APIs from the wt2html path

Description

Disentangle versioned APIs from the wt2html path

  • This is mostly just refactoring. The one situation that differs is in the v2 API, we now only try to reuse expansions from passed in revisions, whereas before the else/if clause fell into making a cache request.
  • Adds a test for a situation that wasn't covered but roundtrip-test.js exposed.
  • Mocks expanding the echo template so there's less noise in the mocha output.

Change-Id: I0dcbfad738e916999d31849bc48cd39d0b6d6936

Details