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

The plugin require official front-matter plugin but docsify@4 may not include it. #2

Closed
opionoid opened this issue Jan 31, 2024 · 1 comment
Assignees
Labels

Comments

@opionoid
Copy link

Problem

The plugin does not work in the foundational environment w/ the error code: docsify-plugin-page-history.js:4188 [docsify-plugin-page-history] before install official front matter plugin. see https://www.npmjs.com/package/docsify-plugin-page-history#install. It also happens in localhost followed "Develop" section in documentation.

Code

<!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>
  <div id="app"></div>
  <script>
    window.$docsify = {
      name: '',
      repo: ''
    }
  </script>
  <!-- Docsify v4 -->
  <script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
  <script src="http://localhost:5500"></script>
</body>
</html>
---
history:
  - date: 2023-10-15 # recommended YYYY-MM-DD
    message: |
      Add **awesome section**.
  - date: 2023-10-10
    message: |
      Initial release
---

# Title
the result: plugin does not work

[docsify-plugin-page-history] before install official front matter plugin. see https://www.npmjs.com/package/docsify-plugin-page-history#install

Env

``` # platform MacIntel

user_agent

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36

100svh

1300

100lvh

1300

window_inner_size

1691 x 1300

window_outer_size

2019 x 1320

screen_size

3008 x 1692

device_pixel_ratio

2

scroll_bar_width

15

zoom

1.1939680662329981

screen_color_depth

24

touch_enabled

false

lang

en

battery_saving_mode ( failed to play video )

no

cookie

enabled=true / quota=4096bytes

storage

enabled=true / quota=596797550592bytes

renderer

ANGLE (Apple, Apple M1 Pro, OpenGL 4.1)

hardware_acceleration

true

gl_supported_extensions

ANGLE_instanced_arrays
EXT_blend_minmax
EXT_color_buffer_half_float
EXT_depth_clamp
EXT_disjoint_timer_query
EXT_float_blend
EXT_frag_depth
EXT_shader_texture_lod
EXT_texture_compression_rgtc
EXT_texture_filter_anisotropic
EXT_sRGB
OES_element_index_uint
OES_fbo_render_mipmap
OES_standard_derivatives
OES_texture_float
OES_texture_float_linear
OES_texture_half_float
OES_texture_half_float_linear
OES_vertex_array_object
WEBGL_color_buffer_float
WEBGL_compressed_texture_s3tc
WEBGL_compressed_texture_s3tc_srgb
WEBGL_debug_renderer_info
WEBGL_debug_shaders
WEBGL_depth_texture
WEBGL_draw_buffers
WEBGL_lose_context
WEBGL_multi_draw
WEBGL_polygon_mode

gl_parameters

BLEND_EQUATION 32774
BLEND_EQUATION_RGB 32774
BLEND_EQUATION_ALPHA 32774
BLEND_DST_RGB 0
BLEND_SRC_RGB 1
BLEND_DST_ALPHA 0
BLEND_SRC_ALPHA 1
BLEND_COLOR 0,0,0,0
CULL_FACE false
BLEND false
DITHER true
STENCIL_TEST false
DEPTH_TEST false
SCISSOR_TEST false
POLYGON_OFFSET_FILL false
SAMPLE_ALPHA_TO_COVERAGE false
SAMPLE_COVERAGE false
LINE_WIDTH 1
ALIASED_POINT_SIZE_RANGE 1,64
ALIASED_LINE_WIDTH_RANGE 1,1
CULL_FACE_MODE 1029
FRONT_FACE 2305
DEPTH_RANGE 0,1
DEPTH_WRITEMASK true
DEPTH_CLEAR_VALUE 1
DEPTH_FUNC 513
STENCIL_CLEAR_VALUE 0
STENCIL_FUNC 519
STENCIL_FAIL 7680
STENCIL_PASS_DEPTH_FAIL 7680
STENCIL_PASS_DEPTH_PASS 7680
STENCIL_REF 0
STENCIL_VALUE_MASK 2147483647
STENCIL_WRITEMASK 2147483647
STENCIL_BACK_FUNC 519
STENCIL_BACK_FAIL 7680
STENCIL_BACK_PASS_DEPTH_FAIL 7680
STENCIL_BACK_PASS_DEPTH_PASS 7680
STENCIL_BACK_REF 0
STENCIL_BACK_VALUE_MASK 2147483647
STENCIL_BACK_WRITEMASK 2147483647
VIEWPORT 0,0,300,150
SCISSOR_BOX 0,0,300,150
COLOR_CLEAR_VALUE 0,0,0,0
COLOR_WRITEMASK true,true,true,true
UNPACK_ALIGNMENT 4
PACK_ALIGNMENT 4
MAX_TEXTURE_SIZE 16384
MAX_VIEWPORT_DIMS 16384,16384
SUBPIXEL_BITS 4
RED_BITS 8
GREEN_BITS 8
BLUE_BITS 8
ALPHA_BITS 8
DEPTH_BITS 24
STENCIL_BITS 0
POLYGON_OFFSET_UNITS 0
POLYGON_OFFSET_FACTOR 0
SAMPLE_BUFFERS 1
SAMPLES 4
SAMPLE_COVERAGE_VALUE 1
SAMPLE_COVERAGE_INVERT false
COMPRESSED_TEXTURE_FORMATS
GENERATE_MIPMAP_HINT 4352
MAX_VERTEX_ATTRIBS 16
MAX_VERTEX_UNIFORM_VECTORS 1024
MAX_VARYING_VECTORS 31
MAX_COMBINED_TEXTURE_IMAGE_UNITS 32
MAX_VERTEX_TEXTURE_IMAGE_UNITS 16
MAX_TEXTURE_IMAGE_UNITS 16
MAX_FRAGMENT_UNIFORM_VECTORS 1024
SHADING_LANGUAGE_VERSION WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)
VENDOR WebKit
RENDERER WebKit WebGL
VERSION WebGL 1.0 (OpenGL ES 2.0 Chromium)
MAX_CUBE_MAP_TEXTURE_SIZE 16384
ACTIVE_TEXTURE 33984
IMPLEMENTATION_COLOR_READ_TYPE 5121
IMPLEMENTATION_COLOR_READ_FORMAT 6408
MAX_RENDERBUFFER_SIZE 16384
UNPACK_FLIP_Y_WEBGL false
UNPACK_PREMULTIPLY_ALPHA_WEBGL false
UNPACK_COLORSPACE_CONVERSION_WEBGL 37444

</details>
@lollipop-onl
Copy link
Member

Fixed on https://github.com/simochee/docsify-plugin-page-history/releases/tag/v1.3.6 .

@opionoid Thank you for reporting!

@lollipop-onl lollipop-onl self-assigned this Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants