-
Notifications
You must be signed in to change notification settings - Fork 841
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
Update GUIDE.md doc #4252
Comments
I think the
I guess the same goes for the stack solver section. Thank you! |
Similar, but different from @ahidalgob's issue. In Existing projects > stack init > External Dependencies, A work-around is to use Using Stack version 1.9.3.1, Git revision 43ff632. |
Not an issue - just thought it worth mentioning that I found the guide very helpful . There's a lot of misinformation around which this helped clear up for me, but bringing it up to date would be nice. |
Hey, I'm new to Stack and found the guide overall really helpful. One thing I did not find in the docs, however, was further info on the distinction between I would be up for opening a PR to include this information somewhere in the docs! |
Appreciate your effort! |
Thanks for the guide. Such things are crucial for us who want to get into developing with Haskell. I try to create a new project as described in the quick start, but when I type
and when I type
Any advice? |
@sigvaldm Can you put your project (or a minimal example) on github and link to it? |
@friedbrice: Think I just found the error myself. I had stack 1.7. Doing |
Came to the guide from a search. Coming back to haskell / stack after a while. The guide seems useful , thanks. I didn't know about package.yaml, that helped (I did |
The guide is still where I looked. If there are other, better places, I'd appreciate if the docs would link to them. |
In #5457 i've seen the initiative to reorganize the Stack documentation to a format similar to Rust's Cargo build tool docs with a clear separation between newcomer steps, guides, and reference sections. Would that be of interest? I could start with a small refactoring towards a separate "Getting started" section for newcomers. |
@malteneuss, my own priorities in respect of Stack's existing online documentation have been its accuracy, completeness, consistency, and relevancy - and probably broadly in that pecking order. I've put 'structure' and 'discoverability' towards the back of the queue, partly because the current 'search' functionality of the online documentation is pretty good and partly because the existing content is quite 'structured' - that is, the debate is not so much about 'structured versus unstructured' but 'how best to structure?'. However, I have had 'structure' in mind, and, to some extent, my own refactoring of, and additions to, the online documentation in recent months has reflected your intent:
As a practical matter on 'structure':
|
Hi @mpilgrem, thanks for that quick and extensive reply. My main recommendation is to separate the documentation into separate, small and self-contained units according to https://documentation.divio.com/, each on a separate page, which from my experience the Rust cargo team and many Javascript and Python frameworks aspire too. The unit of a guide would be a solution to a typical isolated user problem like setting up a project, e.g., mentioning The unit of reference documentation could be a Stack subcommand with all its varieties. The reasons for separate pages are that it makes it easier for authors to write isolated documentation units, makes it easier to index and find in search engines and reduces the noise for readers, i.e. no unwanted, possibly distracting text above and below. As an extreme example, the huge single page Nix manual is currently being separated and adapted for among those reasons. Regardless of what comes out here, it would be good to add your vision and structure remarks to the contributing guide. |
@malteneuss, I have made some immediate, interim, changes in response to our conversation above, namely:
A browser refresh (F5 key) may be needed on each page to see the effect of the changes to online documentation. |
@malteneuss, you and I are on the same page when it comes to 'units of documentation'. The problem is a practical one. The online documentation is currently in 'State A', which is structured, but could be better structured. We can imagine the documentation being in 'State B', which is better structured and which also has different or more documentation. Getting from State A to State B is a huge task. Any intermediate state, which is part-State A and part-State B is much worse state of affairs than either State A or State B because it is neither fish nor fowl. There is risk that if any one person sets off on a journey towards State B, they will never reach their destination. So my own energies have been directed at improving State A, which is something that can be done 'incrementally' and with immediate incremental gains. In terms of current 'units of documentation', they are distributed and take different forms. For example, As another example, As a final example, |
@mpilgrem Ah nice. That small renaming of titles helps a lot in navigating the documentation topics. I see your point with an intermediate refactoring state being worse. If according to your current documentation priorities State B is not worth the effort and risk, at least not for now, then that's fine with me. |
As I noted in #5457 (comment), I think an intermediary step that would be an improvement over 'State A' would be the addition of "Reference material" which simply catalogs the effects of each of the This would ease the pressure on the Guide to contain All information, since it could link to the reference docs where appropriate. Optimistically, it might even allow the Guide to be improved, by trimming extraneous information that currently has no other place to go. The trade-off: there will be some duplicate information, so it will be a little more effort to maintain. |
@smichel17, I have restructured the documentation in the |
I am closing this issue as a lot has happened to the online documentation since it was opened and to encourge fresh issues in the context of the current state of the documentation. |
This is a long user guide doc that I wrote quite a while ago. I'm sure it could be improved significantly now that we have a lot more user experience with where people get tripped up with Stack.
Another possibility: maybe people are getting their information on Stack in other ways, and this document is no longer necessary. I'd appreciate feedback either way on this.
In the meanwhile, I'm going to add a comment to the top of the doc that it deserves getting updated.
The text was updated successfully, but these errors were encountered: