Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some themeConfig options are not respected. #629

Closed
MichMich opened this issue Jul 3, 2018 · 4 comments
Closed

Some themeConfig options are not respected. #629

MichMich opened this issue Jul 3, 2018 · 4 comments

Comments

@MichMich
Copy link

MichMich commented Jul 3, 2018

Bug report

Version

0.10.2

Steps to reproduce

Create a vue press site using the following config.js

module.exports = {
  title: 'My Site',
  description: 'Foo Bar',
  themeConfig: {
    displayAllHeaders: true,
    lastUpdated: true,
    sidebarDepth: 2,
    sidebar: [
      '/',
      '/page-a',
      '/page-b',
    ]
  }

Add secondary headers to the page-a and page-b pages.

What is expected?

  • All the headers should be expanded due to the displayAllHeaders: true setting. This is not the case.
  • Last updated timestamp should be shown at the bottom of the page.

What is actually happening?

  • Only the sub-headers of the active page are displayed.
  • Last updated timestamp is not displayed.

Other relevant information

  • Your OS: macOS 10.13.5
  • Node.js version: v9.0.0
  • Browser version: Chrome Version 67.0.3396.99 (Official Build) (64-bit)
  • Is this a global or local install? Global
  • Which package manager did you use for the install? NPM
@ulivz
Copy link
Member

ulivz commented Jul 3, 2018

Thanks for your reporting, but it hasn't been released yet, I just updated the feature status, you should be able to use it at 0.11.0.

image

@ulivz ulivz closed this as completed Jul 3, 2018
@MichMich
Copy link
Author

MichMich commented Jul 3, 2018

Ah, that explains a lot! Is this the same for last update timestamp?

@ulivz
Copy link
Member

ulivz commented Jul 3, 2018

Not yet, lastUpdated had been published for a long time.

@MichMich
Copy link
Author

MichMich commented Jul 4, 2018

Ah, last update seems to work after committing the files. Thanks!

This issue was closed.
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

No branches or pull requests

2 participants