-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
documentation: added an how-to part before reference docs #20018
Conversation
I'm trying to decide if this belongs as another top-level section. What other guides might we add in the future? I'm also concerned about possible overlap with other sections. The Workflows section, and in particular "how to replace homebrew/conda with spack" might belong in the How To section. More documentation is always great, but I fear we're getting to the point that the documentation is so long that no one ever reads it. Another possible thing to add: we get a lot of questions about how to uninstall Spack, either to do a clean upgrade or to stop using Spack altogether. We should add a list of directories to delete ($SPACK_ROOT, /etc/spack, ~/.spack). |
I believe so too. I grabbed most of the current content from the "Workflows" section and I think, if there's consensus, we should delete the "Workflows" (and prune outdated content). The Conda/Homebrew section is one of the how-to in this draft PR |
Would this be better labeled as a FAQ? It's a big long for a FAQ. Or should we merge this and workflows? I agree with Adam that we have too many docs. We should really reduce the number of top-level sections, and it might be nice to have some kind of feature overview in the reference docs. Something like this, with workflow-oriented sections, is good but I think it should have lots of links to reference documentation... |
I think guides for exposing packages in specific languages might be useful. For something like rust with our Similarly for R with Rcpp. |
IMO Having it at the top under Other guides (not volunteering for all):
|
I agree with the use of the "build-time" and "install-time" nomenclature instead of the current "install tests". |
Could we have a separate FAQ, perhaps between I could see a FAQ consisting of single sentence-to-short paragraph answers with pointers to places in the docs that have more information. |
Install tests are what we've been calling smoke tests -- short tests that can be run days and weeks after the installation -- whereas what I mention here as "build-time" and "install-time" tests are tests that are intended to be run after
|
I should clarify that those are the test checks that have been uppermost in my mind. Packages have also added custom build-time tests with different names (e.g., |
Would you like me to still work on #22051 or somehow merge these two efforts together |
@tldahlgren @shahzebsiddiqui I'll try to have this ready for review by end of this week. If we decide to merge something like this then we can independently add content once it's merged. |
sounds good @alalazo, once this is merged and i move my section into the same page, i see your section is a |
d0bb6a1
to
36ddc9c
Compare
I removed the workflow section entirely, as it has either outdated information or it has been incorporated into the "How to". Your section on Conda is currently "How do I use Spack for single-user installations on my laptop?". Let me know if you have suggestions for more content or better phrasing. There are a couple of points that I may insert back in the How to after having reworked outdated information:
|
fixes spack#15848 The idea of the how-to part of the docs is to provide short and clear examples to specific problems that a user may want to solve with Spack. It assumes the user to be already familiar with Spack terminology, to keep each how-to short, but ideally provides a lot of links to reference documentation for people who need to dig deeper in a topic.
The section "workflow" has been removed, as it is either incorporated in the "How to" part of outdated. There are a couple of items that may need to be reworked and inserted back, like: - Information on views (but referring to Spack environments not to unmanaged filesystem views) - Information on how to use Spack with CI services like Travis For the section "Upstream patches" it should probably be an item under a new "Packaging software" section of the How to guide.
36ddc9c
to
9df0677
Compare
fixes #15848
The idea of the how-to part of the docs is to provide short and clear examples to specific problems that a user may want to solve with Spack. It assumes the user to be already familiar with Spack terminology, to keep each how-to short, but ideally provides a lot of links to reference documentation for people who need to dig deeper in a topic.
Each how-to item has the following structure:
An example of the current layout is:
Modifications: