Struct mdbook::book::BookBuilder [] [src]

pub struct BookBuilder { /* fields omitted */ }

A helper for setting up a new book and its directory structure.

Methods

impl BookBuilder
[src]

[src]

Create a new BookBuilder which will generate a book in the provided root directory.

[src]

Set the Config to be used.

[src]

Get the config used by the BookBuilder.

[src]

Should the theme be copied into the generated book (so users can tweak it)?

[src]

Should we create a .gitignore file?

[src]

Generate the actual book. This will:

  • Create the directory structure.
  • Stub out some dummy chapters and the SUMMARY.md.
  • Create a .gitignore (if applicable)
  • Create a themes directory and populate it (if applicable)
  • Generate a book.toml file,
  • Then load the book so we can build it or run tests.

Trait Implementations

impl Debug for BookBuilder
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for BookBuilder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for BookBuilder
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for BookBuilder

impl Sync for BookBuilder