You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Custom `dest` and `url` properties are now respected by builds.
11
+
* Headers on 404 page are now fixed
12
+
* Default highlight.js instance is now exposed and can now be overwritten at `acetate.highlight`.
13
+
8
14
## [2.0.0-rc.4] - 2017-08-11
9
15
10
16
### Changed
@@ -29,11 +35,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
29
35
30
36
```js
31
37
acetate.load("**/*.+(md|html)", {
32
-
basePath:'doc'
38
+
basePath:"doc"
33
39
});
34
40
```
35
41
36
42
Will cause all pages to have `/doc/` prepended to their URLs and be output to the `/doc` folder when building.
43
+
37
44
* A new config method `acetate.symlink(src, dest)` will create a symlink from a `src` directory, relative to `acetate.root` (usually `process.cwd()`) to a destination directory in your source folder. This should allow you to easily bring external directories into your acetate site, for example you could `acetate.symlink` a Git submodule.
38
45
39
46
## [2.0.0-rc.1] - 2017-07-22
@@ -46,15 +53,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
46
53
### Breaking Changes
47
54
48
55
* Logging methods (`log`, `info`, `debug`, 'success', `error`, `time`, and `timeEnd`) are no longer on instances of `Acetate`. They are available on under `acetate.log` object. You will need to make the following changes:
*`acetate.transformAll` and `acetate.transformAllAsync` have been removed. Removal of these funcations allows for the performance improvments in the development server.
59
66
* The [MarkdownIt](https://markdown-it.github.io/markdown-it/) instance at `acetate.renderer.markdown` has been moved to `acetate.markdown`.
60
67
* The [Nunjucks environment](https://mozilla.github.io/nunjucks/api.html#environment) instance at `acetate.renderer.nunjucks` has been moved to `acetate.nunjucks`.
@@ -255,7 +262,6 @@ This project adheres to [Semantic Versioning](http://semver.org/).
255
262
256
263
* Extensions that are run inside extensions now run and execute after the extension that invoked them has finished.
257
264
258
-
259
265
## [0.4.0] - 2016-01-04
260
266
261
267
### Added
@@ -269,7 +275,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
269
275
### Changed
270
276
271
277
* Console output from BrowserSync now has the `[Acetate]` prefix.
272
-
* Tests now use [node-tap](https://github.com/isaacs/node-tap)
278
+
* Tests now use [node-tap](https://github.com/isaacs/node-tap)
273
279
* Switch to [Coveralls.io](https://coveralls.io/github/patrickarlt/acetate) for code coverage reporting.
274
280
*`acetate.helper` can now create helpers without arguments.
275
281
@@ -310,6 +316,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
310
316
## [0.2.1] - 2015-05-01
311
317
312
318
### Added
319
+
313
320
* Lots of new tests. Test coverage should now be fairly high with only a few remaining edge cases
314
321
* New `watcher:ready` event when the watcher starts watching files
315
322
* New `watcher:start` event when the watcher starts
@@ -318,13 +325,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
318
325
* New `page:clean` method for when a pages built output is deleted
319
326
320
327
### Changed
328
+
321
329
* Improvements to `travis.yml`, readme and contributing guide.
322
330
* Updated dependencies
323
331
* Simplified framework for running tests and gathering coverage information
324
332
*`page.clean()` will no longer clear the directory if it is empty
325
333
* Previously `acetate.query(name, glob, builder)` and `acetate.transform(glob, transformer)` only accepted globs like `'**/*'` to filter there input. They can now accept functions like `function (page) { return page.transformMe; }` or simple objects `{ transformMe: true }` to filter pages before running the query or transform
326
334
327
335
### Fixed
336
+
328
337
* It is not possible to run Acetate without a configuration file. Previously this worked but reported an error.
329
338
* Edge cases with building pretty URLs for non HTML files have been fixed
330
339
* Sever will now properly use a `404.html` page if it is present in your `src` folder.
@@ -333,38 +342,45 @@ This project adheres to [Semantic Versioning](http://semver.org/).
333
342
## [0.2.0] - 2015-04-25
334
343
335
344
### Changed
336
-
- Large refactor to move to a factory based API and use composition to improve code clarity
337
-
-`acetate.args` will no longer include Acetate command line arguments
338
-
- The `options`, `args``src`, `dest`, `root`, and `config` properties are now frozen and cannot be updated.
339
-
- Update dependencies
345
+
346
+
* Large refactor to move to a factory based API and use composition to improve code clarity
347
+
*`acetate.args` will no longer include Acetate command line arguments
348
+
* The `options`, `args``src`, `dest`, `root`, and `config` properties are now frozen and cannot be updated.
349
+
* Update dependencies
340
350
341
351
### Added
342
-
- Additional CLI doc
343
-
- Pages now have more public properties including `metadata` which is a read only copy of the metadata found in the file and `dirty` with will tell you if a page has changed since it was last built.
352
+
353
+
* Additional CLI doc
354
+
* Pages now have more public properties including `metadata` which is a read only copy of the metadata found in the file and `dirty` with will tell you if a page has changed since it was last built.
344
355
345
356
### Removed
346
-
- Remove the `clean` option since it was buggy and did not operate how most people expect.
347
-
-
357
+
358
+
* Remove the `clean` option since it was buggy and did not operate how most people expect.
359
+
*
360
+
348
361
## [0.1.0] - 2015-04-17
349
362
350
363
### Added
351
-
- tests for error handling
352
-
- tests for edge cases in templates
353
-
- tests for data loading
354
-
- added release automation
355
-
- added changelog
364
+
365
+
* tests for error handling
366
+
* tests for edge cases in templates
367
+
* tests for data loading
368
+
* added release automation
369
+
* added changelog
356
370
357
371
### Changed
358
-
-**BREAKING**`acetate.src` and `acetate.dest` are removed. Pass them as options or with the `-i` or `-o` flags on the command line
359
-
- refactored error handling and logging to be more compact
360
-
- refactored page loading to be simpler
361
-
- move runner and CLI to event based system
372
+
373
+
***BREAKING**`acetate.src` and `acetate.dest` are removed. Pass them as options or with the `-i` or `-o` flags on the command line
374
+
* refactored error handling and logging to be more compact
0 commit comments