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
View Source on master docs are broken #9304
Comments
This seems to be because GitHub only recognized URLs without |
It seems one of the things that make this complicated is that master docs are not from a dedicated docs build with the dockerfile from distribution-scripts, but just a byproduct of the This explains my confusion about the remote url ending with I'd suggest to use the proper WDYT @bcardiff ? |
No. Because master docs are compiled without docker images. I think that should remain the same. The updates of master docs happens on every commit, and not on nightly. |
Why shouldn't master docs use the exact same process as release docs? This would mean we need to maintain duplicate doc generation workflows. And that's just going to fail. For example, currently master docs don't have the version selector because |
It is a different process. And I don't see how you want to unify them
|
Why should it not be? Building docs for crystal-lang.org/api/master should be considered as a distribution process because it publishes to the API docs.
It could be pretty much the same as A better solution would probably be adding an optional step to the distribution-scripts Dockerfile which builds the compiler locally and can be used when generating master docs. That doesn't seem like it would be a big problem. Alternatively, we could consider extracting the generalized API docs build process out of distribution-scripts to use it independently for master builds. This seems more complicated, though. I'd simply prefer to have a single place for building API docs for crystal-lang.org/api. This issue and the missing version selector on master docs indicate that maintaining duplicate workflows is just confusing. |
https://crystal-lang.org/api/master/Adler32.html
Clicking the link under
Defined In
, or any of the methodsView source
, will 404. It seems to be trying to navigate to the repocrystal-lang/crystal.git
.The text was updated successfully, but these errors were encountered: