-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
No outline generated after docs:build (Yes it is there when docs:dev) since alpha52 #2072
Comments
More: Then I rollback to v1.0.0-alpha.51:
It works, outline is back after build. |
Maybe it is caused by badge. I notice there is a break change in alpha52. It really affected me. I have badges in headlines. Can you add badges in headlines and tried it again? My code is in LAN, and size is Large. |
You mean having just the badge in whole heading? In that case, yeah that heading will be skipped 👀 Also not asking for the whole code, just a dummy file with 2-3 headings that demonstrates the problem will work. |
I will try to reproduce it later. In the third level of the title, the second level of the title, and there are badges like “to do” and so on. |
It works well in dev mode. |
Ah, ok. Then we need some code to reproduce the problem at our end. Can't suggest a fix without that 👀 |
In dev mode, the outline is there. And the badge was perfectly omitted. But it remains in the [[toc]]. Perfect is exactly what I was hoping for. |
Now I can reproduce the bug: Following:
Now edit the file "markdown-examples.md" that automatically generated. Just add a badge into the title, as following: ## Syntax Highlighting<Badge type="danger" text="caution" /> Now we can test the file:
It works fine in http://localhost:5173/markdown-examples.html Then I try to build it:
I copied all the stuffs into iis root. (C:\inetpub\wwwroot) Now: http://127.0.0.1/markdown-examples.html |
I have a similar problem. In v1.0.0-alpha.52, Appearance switch button and custom css work with dev, but fail with preview. #2075 |
Looks like alpha.53 didn't fix this, looking into it further... |
Describe the bug
I upgrade to alpha52 then docs:build. Outline in page missing.
I tried docs:dev, it goes well.
Is it a bug?
Reproduction
I upgrade to alpha52 then docs:build. Outline in page missing.
I tried docs:dev, it is goes well.
Is it a bug?
Expected behavior
docs:dev and docs:build should be the same.
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: