Chris Spiegel
dacc274e0d
Add myself to the contributors list.
2017-11-30 07:54:43 -08:00
Chris Spiegel
b0b09bad3f
Clean up build configuration.
...
This rolls all "create missing" handling into BuildConfig, and moves the
build-dir option from the "book" table to the "build" table. Some
documentation cleanup surrounding the build table is also updated.
2017-11-30 07:39:58 -08:00
Chris Spiegel
93874edebf
Add a create-missing option to book.toml.
2017-11-29 20:02:58 -08:00
shan1024
1aa9c92ac1
Fix typo
2017-11-27 13:18:51 +01:00
Anna Liao
5ce05a79be
updated links from azerupi to rust-lang-nursery ( #489 )
2017-11-22 11:35:18 +01:00
Aaron Turon
c51e080783
Update broken doc link
2017-11-21 20:32:08 -08:00
Michael Bryan
dd5d94393d
Fixed the OSX/beta travis builds ( #492 )
...
Fixed the OSX/beta travis builds
2017-11-19 01:12:25 +08:00
Jacob Wahlgren
3d5eb48e32
Refactor navigation helpers ( #465 )
...
* Refactor navigation helpers
* Target::find: take previous_item by reference
This makes more sense for find as an interface, though it causes a
second clone in some cases. Maybe rustc is smart here?
* Test next and previous navigation helpers
* Add more next/previous tests
2017-11-18 19:17:26 +08:00
Michael Bryan
d56ff94ce6
Regression tests ( #422 )
...
* Created regression tests for the table of contents
* Refactoring to make the test more readable
* Fixed some bitrot and removed the (now redundant) tests/helper module
* Removed the include_str!() stuff and use just the dummy book for testing
* Regression tests now pass again!
* Pinned a `*` dependency to use a particular version
* Made sure test mocks return errors instead of panicking
* Addressed the rest of @budziq's review
* Replaced a file open/read with file_to_string
2017-11-16 15:51:12 +08:00
Michael Bryan
fb99276f52
Merge pull request #457 from Michael-F-Bryan/config
...
Making configuration more flexible
2017-11-12 21:47:10 +08:00
Michael Bryan
5eff572dbb
Updated the warning to give some basic migration instructions
2017-11-12 21:37:39 +08:00
Michael Bryan
238dfb7d1d
Added in legacy config format support
2017-11-12 21:37:38 +08:00
Michael Bryan
c777913136
Updated the configuration chapter in the book-example
2017-11-12 21:37:38 +08:00
Michael Bryan
c25c5d72c8
Went back and simplified Config to be a smart wrapper around toml::Table
2017-11-12 21:37:38 +08:00
Michael Bryan
3aa6436679
Added in things from @Phaiax's review
2017-11-12 21:37:38 +08:00
Michael Bryan
d37821c194
Rebased after #438
2017-11-12 21:37:38 +08:00
Michael Bryan
1b5137c84e
All tests pass again :)
2017-11-12 21:37:37 +08:00
Michael Bryan
18c725ee12
Integration tests pass again
2017-11-12 21:37:37 +08:00
Michael Bryan
1743f2a39f
Removed the now redundant config files
2017-11-12 21:37:37 +08:00
Michael Bryan
cee3296a32
main library tests pass
2017-11-12 21:37:37 +08:00
Michael Bryan
ddb0834da8
Upgraded binaries to new configuration API
2017-11-12 21:37:36 +08:00
Michael Bryan
b74c2c18ef
Removed all references to old the configuration from the html renderer
2017-11-12 21:37:36 +08:00
Michael Bryan
c056b5cbd0
Removed old configs from MDBook
2017-11-12 21:37:36 +08:00
Michael Bryan
8d7970b32d
Changed to the new config types
2017-11-12 21:37:36 +08:00
Michael Bryan
1d22a9a040
Added some basic deserializing tests and helpers
2017-11-12 21:37:36 +08:00
Michael Bryan
6059883229
Added some basic configuration objects
2017-11-12 21:37:35 +08:00
Michael Bryan
79dd03e8e9
Merge pull request #471 from stgn/theme-popup-absolute
...
Use absolute positioning for theme popup
2017-11-10 13:31:12 +08:00
François
aecc403fb8
add tooltip to icons ( #477 )
...
add tooltip to icons and previous/next chapter links
2017-10-27 14:46:55 +02:00
Mathieu David
cd711bfb1c
Merge pull request #456 from Michael-F-Bryan/conditional-ga
...
Conditional Google Analytics
2017-10-18 14:10:53 +02:00
Mathieu David
afd9ccb7b1
Merge pull request #461 from Michael-F-Bryan/move-custom-js
...
Custom JS belongs at the bottom
2017-10-18 14:09:14 +02:00
Mathieu David
cb5ae21b89
Merge pull request #469 from jacwah/ignore
...
Fix last clippy warnings
2017-10-18 14:07:10 +02:00
Shane Nelson
dd3bef8000
Use absolute positioning for theme popup
2017-10-16 21:40:32 -04:00
Jacob Wahlgren
7e5892bd35
Ignore unhelpful clippy warning
...
As discussed in https://github.com/azerupi/mdBook/pull/466
2017-10-12 22:14:48 +02:00
Jacob Wahlgren
56cee872e8
Box Handlebars template error
...
See https://github.com/azerupi/mdBook/pull/466#issuecomment-335450110
2017-10-12 21:50:33 +02:00
Michael Bryan
a554390aa2
Slightly cleaned up the google analytics tag (skip ci)
2017-10-09 09:53:02 +08:00
Mathieu David
c64384abc3
Merge pull request #462 from Michael-F-Bryan/update-contributors
...
Updated Contributors
2017-10-08 16:07:19 +02:00
Mathieu David
ba7d40284b
Merge pull request #466 from jacwah/lints
...
Fix some clippy warnings
2017-10-08 16:06:39 +02:00
Jacob Wahlgren
8f6523a94c
Fix some clippy warnings
2017-10-07 18:11:05 +02:00
Michael Bryan
8fbc59720d
Added myself to the contributors list
2017-10-04 20:04:26 +08:00
Michael Bryan
ac9c150902
Moved custom JS to the bottom
2017-10-04 19:59:10 +08:00
Michael Bryan
f2e56c887b
Got the logic around the wrong way
2017-10-04 19:57:06 +08:00
Michael Bryan
b4a12fa723
Made sure google analytics isn't included when inspecting locally
2017-10-04 19:57:06 +08:00
Pratik Karki
382fc4139b
run rustfmt on the repository #398(Updated) ( #438 )
...
rustfmt the repository #398
2017-10-03 13:40:23 +02:00
steveklabnik
b45e5e4420
Release 0.0.26
...
Fixes #460
2017-10-02 09:10:17 -04:00
Mathieu David
a6d4881e00
Merge pull request #450 from Zengor/master
...
Call playground with /execute
2017-09-23 21:35:41 +02:00
Mathieu David
a0515bd104
Merge pull request #449 from steveklabnik/fix-regression
...
Change key for theme to not clobber old books
2017-09-23 20:42:31 +02:00
steveklabnik
9b64db908f
prefix sidebar too
2017-09-22 13:58:45 -04:00
steveklabnik
f562878131
I forgot one theme, thanks budziq
2017-09-22 13:56:58 -04:00
Zengor
3823fc0e74
Call playground with /execute and not the legacy /evaluate.json
...
This commit changes the url used to call the playground, and the
request parameter format to go with it. The older evaluate is
available in the playground as a form of backwards compatibility
and swithcing now opens way for using newer features.
2017-09-21 00:24:47 -03:00
steveklabnik
793fb8f654
Change key for theme to not clobber old books
...
Fixes https://github.com/azerupi/mdBook/issues/448
2017-09-19 16:59:16 -04:00