Cross reference links can lead to 404 pages
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- html, hugo, markdown, python
- Lĩnh vực
- documentation
Hướng nghiên cứu
Không có tệp nguồn hoặc bài kiểm thử nào được nêu. Hãy xác định các điểm vào để tạo liên kết tham chiếu chéo cho đầu ra Markdown, HTML và Hugo, sau đó so sánh các đường dẫn dự kiến được mô tả ở đây với hành vi của tài liệu Sphinx và Godot; được xem là hoàn tất khi các liên kết được tạo hoạt động với Markdown trên máy tính, HTML trực tiếp và các trang Hugo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The latest version of the program supports cross-references like [ClassName.method], etc. but the links don't always work. Part of the problem cannot be fixed without input from the user.
The problem
When previewing markdown documents on your desktop, the links should point to markdown files to work, as you're browsing through your file system. E.g. ClassName.md
If you convert to html and/or put the files on the web, the links should point to the page's name or file, ./ClassName or ./ClassName.html or the lowercase equivalents.
Hugo may change the case of the links depending on the website's settings I believe?
Solution
For markdown, I'm currently linking to ../PageName. This should work if you put your pages online with a CMS, but it won't if you output your files as html directly. To solve this, we might need to have an html output that writes links as ../pagename.html#header-name. We can look at how Sphinx and the Godot docs handle that.
In the hugo format, links should probably use the {{< relref >}} shortcode. This shortcode takes a relative path to a markdown document and resolves the final path for you. We have the exact name of the markdown documents so this would work reliably.
- Ngôn ngữ chính
- Python
- Star
- 297
- Fork
- 26
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GDQuest/gdscript-docs-maker
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
GDQuest/gdscript-docs-maker#95 · 4 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
GDQuest/gdscript-docs-maker#86 · 1 reaction ·
-
index is being generated blank Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
GDQuest/gdscript-docs-maker#71 · 3 bình luận ·
Tất cả issue của GDQuest/gdscript-docs-maker
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stephrobert/dsoxlab#238 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
sublimehq/package_control#1780 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
nwg-piotr/nwg-displays#145 ·