Skip to content

Conversation

@ehuss
Copy link
Contributor

@ehuss ehuss commented Jan 6, 2021

A long time ago (#491, #696), the location of themes was changed from src/theme to theme. However, mdbook init --theme was never updated to place the theme in the new location. This updates the init command to place the theme directory in the root.

This also includes a few minor fixes:

  • If the css directory exists, don't fail.
  • Don't print the overwrite warning if it isn't actually going to overwrite anything.

Closes #1412

@Dylan-DPC-zz Dylan-DPC-zz merged commit 77e7cfd into rust-lang:master Jan 7, 2021
notriddle pushed a commit to notriddle/mdBook that referenced this pull request Dec 23, 2021
rubenmoor pushed a commit to rubenmoor/mdBook that referenced this pull request Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mdbook init incorrectly places the "themes" folder

2 participants