Some Major Bugs
When I run 'godoc-static -link-index -destination=.' to document all go I run into some issues. I'm running on windows.
- There are some major issues with '\' as a path separator on windows. This program is only intended to work with '/' as a path separator. However, on windows '\' is being used, breaking a lot of links.
- Packages containing either 'testdata', 'internal' or '\' should automatically be excluded as it is the default in godoc. It's not possible to manually exclude them, because there are no wildcards.
- Excluded packages only affet the documentation, but not the source code linked to it. This leads to more generated source code files than the documentation files, producing source code files that can never be reached and therefore unnecessary bloat.
I applied these fixes on my own. Here is the modified source code.
main.go: https://pastebin.com/3EAU1TFV
page.go: https://pastebin.com/GGvMW6s1