Skip to content

Conversation

ulivz
Copy link
Member

@ulivz ulivz commented Jun 9, 2018

Summary

Update to 0.10.1 to get some very small UI enhancement (mainly for lastUpdated).

And I also want to sell two features here.

1. free to use relative path

From now on, we can be free to use relative path for markdown file reference:

e.g.

[`transpileDependencies`](../config/#transpiledependencies)

Can be replaced by:

[`transpileDependencies`](../config/README.md#transpiledependencies)

The first convention assumes that the user uses the VuePress, and as a source file, it uses the runtime path, so I personally prefer the second one, mainly that it keeps the jump-to-definition in editor.

Complete use case test here.

2. Header badge

Now we can easily add a version/status to a new feature at docs.

e.g.

  • Input
## Import Code Snippets <Badge text="Experimental" type="warn"/> <Badge text="0.11.0+" type="tip"/>
  • Output

image

@yyx990803 yyx990803 merged commit d1480e3 into vuejs:dev Jun 11, 2018
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.

2 participants