Comments (1)
It's been a while since I wrote this but yeah from what I can see, the virtual manifest case was a bit of an afterthought, it does exactly what you say, try and use the first entry in the list of members as a default name for the docset, and as the docset index page, which is obviously not great.
Regarding RUSTDOCFLAGS='-Z unstable-options --enable-index-page'
, I'll need to look into that, that's probably for another PR (I opened #38 to track it), but thanks for pointing it out.
I pushed #37 which does not add a dashIndexFilePath
entry when building from virtual manifests. Adding an option to specify which package to use as the index is a good suggestion, I'll do that before merging. I'll probably need to add a second one to allow specifying the docset name.
from cargo-docset.
Related Issues (20)
- Unable to generate docset HOT 7
- Unwrap error when running hyphenated cargo-docset HOT 1
- Generated Docset doesn't "load" when running on stable HOT 9
- Properly detect the base directory
- Mention sqlite3 dependency, and link to rusqlite docs HOT 1
- Support changing target dir location. HOT 4
- cargo-docset does not support virtual manifest workspaces HOT 2
- Every module has a spurious ::index suffix HOT 1
- Generate a docset from the cargo build cache
- General refactor HOT 1
- Support specifying the docset name
- Docset index contains relocated symbols that only result in a redirection HOT 2
- 'cargo-docset' installed via 'cargo install' fails to run HOT 5
- Look into `RUSTDOCFLAGS='-Z unstable-options --enable-index-page'`
- Broken CI ? HOT 1
- Test test_validate_docset_params_1_into_args is failing HOT 2
- Download docs.rs documentation for arbitrary crates HOT 1
- support open online doc (docs.rs) HOT 1
- Improve error output
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 cargo-docset.