Skip to content

nav is not shown after adding cover #2510

@AndroidDesigner

Description

@AndroidDesigner

Hello everyone.
I carefully read the setup documentation, and everything seemed correct, but when I created a cover page, the navbar I had created doesn’t display.
the index.html is as the below:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="Description">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
</head>

<body>

  <nav>
    <a href="#/">EN</a>
    <a href="#/ar/">Arabic</a>
  </nav>

  <div id="app"></div>
  
  <script>
    window.$docsify = {
      name: '',
      repo: '',
      loadSidebar: true,
      subMaxLevel: 2,
      coverpage: true,
      rtl: {
        body: "ltr",
        side: "ltr",
        bdo: "rtl"
      }
    }

  </script>
  <!-- Docsify v4 -->
  <script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
  <script src="//unpkg.com/docsify-rtl/build/index.min.js"></script>
  <script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
  
</body>
</html>

what is the problem?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions