Coder Social home page Coder Social logo

Comments (11)

rbarilani avatar rbarilani commented on June 21, 2024

Hi @Ramacraft123 can you post your _data/navigation.yaml file?

from hexo-theme-doc.

rama-adi avatar rama-adi commented on June 21, 2024

@rbarilani it's the default seed project, i've not modified anything.
It doesn't work even if i tried to install it with "long start"

{
  "logo": {
    "text": "Hexo Doc Theme Seed",
    "type": "link",
    "path": "index.html"
  },
  "main": [
    {
      "text": "SWAGGER",
      "type": "label"
    },
    {
      "text": "UI",
      "type": "link",
      "path": "swagger/ui.html"
    },
    {
      "text": "To HTML",
      "type": "link",
      "path": "swagger/to-html.html"
    },
    {
      "text": "SUPPORT AND FEEDBACK",
      "type": "label"
    },
    {
      "text": "Raise an Issue on Github",
      "type": "link",
      "path": "https://github.bus.zalan.do/stargate/hexo-stargate-doc-theme-seed/issues/new"
    }
  ]
}

from hexo-theme-doc.

rbarilani avatar rbarilani commented on June 21, 2024

@Ramacraft123 Sorry I don't have a windows 10 in my hand at the moment I will try to replicate with a Virtual Machine as soon as I can.

Can you also post a screenshot for future reference?

from hexo-theme-doc.

rama-adi avatar rama-adi commented on June 21, 2024

@rbarilani what type of screenshot?

from hexo-theme-doc.

rbarilani avatar rbarilani commented on June 21, 2024

from hexo-theme-doc.

rama-adi avatar rama-adi commented on June 21, 2024

sure
image

from hexo-theme-doc.

rbarilani avatar rbarilani commented on June 21, 2024

@Ramacraft123 Can you check if you see any error in the developer console of IE?

Also if you run hexo generate and you check the site/index.html file the navigation html markup is not there right?

from hexo-theme-doc.

rama-adi avatar rama-adi commented on June 21, 2024

@rbarilani

doc.js:5 Uncaught ReferenceError: $ is not defined
    at Object.<anonymous> (doc.js:5)
    at t (doc.js:5)
    at Object.<anonymous> (doc.js:31)
    at t (doc.js:5)
    at Object.<anonymous> (doc.js:5)
    at t (doc.js:5)
    at doc.js:5
    at doc.js:5

(anonymous) @ doc.js:5
t @ doc.js:5
(anonymous) @ doc.js:31
t @ doc.js:5
(anonymous) @ doc.js:5
t @ doc.js:5
(anonymous) @ doc.js:5
(anonymous) @ doc.js:5

yep, no markup at hexo generate

from hexo-theme-doc.

rbarilani avatar rbarilani commented on June 21, 2024

@Ramacraft123 Ok then it seems to be a problem with "jquery" server side rendering, I'm installing a virtual machine to be able to debug the problem on Windows and Internet Explorer Edge. I will keep you updated.

from hexo-theme-doc.

rama-adi avatar rama-adi commented on June 21, 2024

Thanks @rbarilani !

from hexo-theme-doc.

rama-adi avatar rama-adi commented on June 21, 2024

Hey, sorry for the very late response. Just fixed the problem!
This should make the sidebar show. I looked at the console again, and it shows CORS error. here's how I fixed it.
Replace the original jquery.js cdn from:

 <script src="//code.jquery.com/jquery-3.2.1.min.js" crossorigin="anonymous"></script>

to:

    <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>

from hexo-theme-doc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.