-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add support for [text](@cite key)
syntax
#64
Conversation
This is great! I was just about to implement this but looked and open PRs and found this. I think that DocumenterCitations.jl/src/citations.jl Line 28 in 13f5a73
[key](@cite) style, in general.
|
For the record, this functionality is also fully implemented in QuantumCitations, which is my fork of DocumenterCitations. |
Ok... Why not contribute to existing packages to join efforts instead of forking? |
I tried, with this PR. Unfortunately, DocumenterCitations seems to be unmaintained. There’s also a question of control: if I’m depending on a plugin like this in the documentation of my projects, I need to have a fair amount of control to implement any feature I might need. My preference would have been to extend this package instead of forking, but that would require an active and responsive maintainer. This is not a criticism of @ali-ramadhan, but a fork seemed like the way to go here. That being said, QuantumCitations could in principle be backported, although there are large parts that were substantially rewritten to support “citation order” / only listing cited entries in the bibliography. |
Maybe it would make sense to move this package to JuliaDocs? |
I can invite @ali-ramadhan to JuliaDocs if you want to transfer it there. |
I’d certainly be open to (co-) maintaining this package within the JuliaDocs org, but it’s up to @ali-ramadhan |
@simonbyrne and @LazyScholar seem to also have had maintainer access in the past |
I agree it would make sense to move, but I don't have admin access. @vchuravy is Ali still at MIT? Can you reach out to him? As far as this PR goes, a test and/or example that uses this would be helpful. |
Bump! |
Bump @ali-ramadhan 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we somehow add a test?
Given that the current admin is missing, we could also just fork it to JuliaDocs and move development there (similar to what we had to do for https://github.com/JuliaFolds2) |
I'm not going to pursue this PR further in its current form. For context, this PR was a "test balloon" to see if There are still some limitations, most notably a "bug" in Documenter described in https://discourse.julialang.org/t/running-makedocs-overwrites-repl-docstrings/95982. This would be fixed in Documenter 0.28 (whenever that will come out), and the changes in Documenter 0.28 would also allow for doing some more advances rendering of citations, such as collapsing the citations in the first paragraph of https://juliaquantumcontrol.github.io/QuantumControl.jl/stable/, which should render as "[1-8]". However, Documenter 0.28 is very breaking, and might again require some fairly extensive restructuring in DocumenterCitations/QuantumCitations, which I'm planning to make when that version comes out (and I have some spare time). The Thus, from my perspective, the way to go would be
There would have to a responsive maintainer for the JuliaDocs/DocumenterCitations fork to oversee this… Or if you wanted to add me as a maintainer there, I could just go ahead and do the rewrite when the time comes. |
You should already have gotten an invitation. |
Lets discuss the next steps in JuliaDocs/DocumenterCitations.jl#1 |
Yes… I'll get back to you there later tonight
So, I'm just going to close this for now, and we can revisit the issue over at JuliaDocs |
Closes #63