Comments (4)
Can you explain a little further? How is the content of :mvn/version
being passed into the running process?
from codox.
Like that code I link to demonstrates, when a value is a keyword, you just check if that keyword is an alias in the project basis (i.e. the deps.edn file). If it is, use the value of that alias in place of the original keyword in the exec-args.
Getting the aliases: https://github.com/seancorfield/depstar/blob/d15af202cc796eecf9ef1b7df1c2108d4ee0a202/src/hf/depstar/task.clj#L23-L26
Putting the value of the alias into the opts map when it a) exists and b) isn't an exec-arg that's supposed to be a keyword: https://github.com/seancorfield/depstar/blob/d15af202cc796eecf9ef1b7df1c2108d4ee0a202/src/hf/depstar/task.clj#L28-L34
from codox.
I don't think this is a good idea, because it's counter to the ethos of simplicity that tools.deps follows. If we change generate-docs
to have behaviour dependent on deps.edn, that's a source of complexity. It creates a connection between deps.edn and generate-docs
that didn't exist previously.
from codox.
Yeah, it would be nice if this substitution were done at the tools.deps level so it would just be there by the time you received the exec-args. It’s really unfortunate to have to repeat values like this (and remember to update them in more than one place).
But I hear you, it’s not really within codox’s domain to do this like it is for something like depstar.
I’ll look into other options.
from codox.
Related Issues (20)
- boot-codox always output in some temporary directory HOT 1
- how do you document entire project (maybe put on Introduction html page?) HOT 1
- Crux and codox HOT 1
- Multiple projects that share the same root index.html HOT 3
- Document how to use with deps.edn HOT 5
- getting an error (0.10.7) HOT 2
- can't generate Clojurescript docs on re-frame template HOT 6
- codox crashes under Java 16 HOT 8
- Integrating Cloverage HOT 2
- `:project` key in deps.edn is ignored. HOT 2
- CompilerException when macroexpanding an ns containing reader-condtional requires HOT 1
- How can I render the autogenerated codox docs as documentation in github ? HOT 2
- Could not transfer artifact com.vladsch.flexmark:flexmark-ext-emoji:jar:0.62.2
- Namespace trimming
- Cannot generate Source Links HOT 2
- Accept a basis for tools.build compatibility HOT 4
- jquery included in default theme has XSS vulnerability issue
- [Feature request] Support simultaneous Clojure & ClojureScript output HOT 7
- Regexes are not supported in EDN, and therefore not supported when Codox is used from tools.deps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codox.