vantagedesign / ace-documentation

A free documentation theme for Hugo, powered by Bootstrap 4. Repsonsive, search, code highlighting and more.
https://docs.vantage-design.com/ace/
MIT License
101 stars 74 forks source link

No menu bar while deploying using github pages #20

Closed PRUBHTEJ closed 4 years ago

PRUBHTEJ commented 4 years ago

While I'm deploying the same website on github pages I'm unable to see the menu bar on the left hand side whereas, if I'm running it locally, then everything seems fine. I'm attaching the screenshots below. Kindly suggest. Screenshot from 2020-09-15 01-15-30 Screenshot from 2020-09-15 01-15-59

julianflapper commented 4 years ago

Hi,

I've checked your site and it seems like the site is unable to load core dependencies, such as jquery, popper, bootstrap, etc.

Please check if your JavaScript files are being properly loaded on remote domains. Perhaps the base URL is misconfigured.

PRUBHTEJ commented 4 years ago

Greetings, Thanks for your help! It worked, I changed the base URL as well as did hugo -D and it surprisingly ran!!

PRUBHTEJ commented 4 years ago

Greetings, Actually I am trying to arrange the menu in a customized manner, but I'm unable to do so. Could you please guide me in some way?

julianflapper commented 4 years ago

Could you be more specific?

PRUBHTEJ commented 4 years ago

My website is currently live on synbiohub.github.io and I'm trying to customize the menu order i.e. not using the regular alphabetical order which is on the LHS of the page.

julianflapper commented 4 years ago

You can use the weight option in a page's configuration to list it higher or lower.

PRUBHTEJ commented 4 years ago

Thank for the reply!! I'll close this issue now.

PRUBHTEJ commented 4 years ago

I've to edit the weights in the config.toml file or in the specific _index.md file?

julianflapper commented 4 years ago

In each .md file for a page, same place where you set the title of a page. The example site might have it

PRUBHTEJ commented 4 years ago

I tried that by adding "weight:value" term but nothing worked, could you please share the link to the example site?

Also what should be that value that should be assigned to the page of highest priority?

julianflapper commented 4 years ago

https://raw.githubusercontent.com/vantagedesign/ace-documentation/master/exampleSite/content/getting-started/installation.md

There is an example for the exampleSite pages. See the weight = 1 at the top. A higher weight places it lower in the order, I think.

PRUBHTEJ commented 4 years ago

Greetings, Thanks!! This issue has been resolved.