-
Notifications
You must be signed in to change notification settings - Fork 418
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 difficult in v2 #79
Comments
The equivalent page for 2.8 is https://jasmine.github.io/2.8/introduction, which is reachable via the docs link in the header. I'm open to suggestions (and pull requests!) for how to make that part of the documentation more discoverable. |
The documentation for Jasmine has been pretty heavily revamped recently. We now have more obvious getting started guides for node.js, ruby, and python, as well as a new tutorial about writing your first suite. All of these are linked from the main docs page. Hope this helps. Thanks for using Jasmine! |
I've also search long to find the newset introduction page. Now i unterstand that after 2.9, the tutorial pages are used. Sadly i find them very unusable.
@sgravrock IMHO the docs page can be replaced with a direct jump to the tutorials. API Docs was never visited by me, but maybe it can be placed in the top menu (Releases and GitHub can be moved to Getting Started - Jasmine Standalone block or directly Startpage) I hope my comment is not to rash :) |
I definitely didn't notice the clobbering of the code styles with some of the new changes. I would be happy to review a pull request to fix that to match the other code examples in the API docs. I also agree that I would like the side-by-side pages (and possibly others) to make better use of horizontal space when it is available, but this mechanism was easier to set up initially to get something that looked decent in the new format. I would similarly be happy to review a pull request that allowed some expansion, but still kept some of the minimum sizing happening currently. The API docs were one of the most requested features for Jasmine's documentation, but a better site organization and navigation is definitely something I've been thinking about. |
I am working on a custom branch of the jasmine docs and would like to make some potentially larger changes. I thought I'd bounce some off this thread and get your initial reaction...
(For me and maybe a lot of us, jasmine feels like it's been with us forever -- but new people start coding every day and I think some of the changes above will help jasmine hold onto its market share.) Another thing I'm not sure how you might feel about is moving ALL jasmine "documentation" into jasmine core. Basically the entire site in markdown format lives in jasmine core under "/docs", and this repo still exists but only has the Jekyll template and generator code. Then instead of versioning just the API, you'd version the entire site. I feel this encourages keeping the docs up to date with code changes and lets you freely edit introductory material without going to a separate project. |
I would also like to move the tutorials away from the side-by-side design. It doesn't work as well in the new layout. I managed to rewrite some of the content in the newer format, but some of them were just too big at the time.
This still mostly exists. The majority of the basics and intro contents are now in the Your first suite tutorial. I haven't figured out the best ways to navigate through the docs, since it largely depends on exactly where you are in the process of setting up Jasmine. You might want to know about install, configure (node.js, ruby, or python), an intro, or just a reference.
This seems like it would lead to a large number of very small files. If the issue is the ability to more easily link to a particular one on the page, I would favor a solution that shows the correct link next to the section in the API docs. This may even be as simple as some css and js to the existing pages since I think the jsdoc templates already render a
This is pretty vague, I would have to see what kinds of changes you're really talking about. I agree that some of the general layout here could use some help, but I want to keep the expected use-cases in mind for the docs and not veer too far back to a single page that you have to search yourself. |
Thanks for the feedback, as always! I'll think I'll start slow with some targeted PRs, and we'll see where we end up. 👍 |
Not to bash on anyone. And I know it is tough to maintain a project like this and compete with FB.com and all the other big boys. But I feel the doc's are lacking focus. I don't get the feeling they were built to make anyone more efficient in working with jasmine or a better tester. I think a site like https://jasmine.github.io/ should have these goals.
(Optional) As an extra bonus allow users to do items 1 and 2 for the actively maintained versions and not all versions. Ther should be an end to the maintenance madness. And this is how the current compare to these goals IMOP.1. Help users get you started working on jasmine. 2. Help users find the current docs for matchers and configuration. 3. Direct you in the right direction if you have trouble working with jasmine (Not solve all the worlds trouble) 4. Other docs that must be there but are of lesser importance. Ther are a lot of good layouts/doc projects out there that have solved most of these issues and one of them could be borrowed and modified to accomplish this. Also not having the docs on their own and always have to extract them from the code base is probably hindering the development of the docs. Not saying it wasn't a great ides at one point. Sorry for the rant but I really would like of my experience of visiting https://jasmine.github.io/ was as joyfully as my experience working with jasmine. |
https://jasmine.github.io/1.3/introduction
In version 1.x the documentation was very straightforward for getting started. I'd had another developer ask me how to write Jasmine, and I'd asked what they meant as the getting started guide was very clear last time I read it. I tried finding that information on the new site just to see what they meant.
I was expecting the getting started link to provide something like the introduction in 1.3, but ended up with a lot of "how to get started in x". This is useful, but I couldn't find a general "how to write jasmine" section from there.
Perhaps I was looking in the wrong place, but I feel that the site should be organized to expose this information more immediately.
The text was updated successfully, but these errors were encountered: