-
Notifications
You must be signed in to change notification settings - Fork 862
Proper Documentation #1123
Comments
If there is a need for more documentation, I suggest that we put it in a Github Wiki in this repository. A documentation summary, such as procedures for installation should still be available in the README. Either way, it's fully possible for anyone to contribute documentation today in the README using pull requests. But I see that it is not ideal with a lot of unstructured content if we get a critical amount of information. |
Yeah at least a small doc would be interesting, at least historical... Just for example, now to start compile we have to type "npm start"... I was used to type "npm run watch" for more than one year. Would be great to know what to use regarding each version... Sometimes you have to dig in an older project and you have to find the right command! |
@dantahoua as mentioned in #1090, the package script was removed because it was causing problems. I will revisit once I find out more about the problems. @olefredrik can you please point me to the issues related to the package script that were causing problems and made you decide to remove it? I tried searching and couldn't find it. Thanks! |
Great! And I forgot to congrats you two for this amazing work! :) |
@colin-marshall I answered your package script question in this thread #1090 |
I think part of proper documentation would be to always have proper commit messages for every single commit. No pull request should be accepted unless it has a proper commit message. The Tower documentation has some good advice regarding version control best practices:
FoundationPress has a history of uninformative or non-existing commit message that makes it hard for anyone else to understand the reasoning behind changes, especially as time goes by (like the example above with removal of package script). I come back to FoundationPress from time to time and try to read up on changes in code and it's time consuming and sometimes impossible to track down the reasons for changes. (And since it happened more than once that untested, unwanted changes or even misstakes has been committed from pull requests I want to know why changes are made, it's easier to catch errors then.) |
I agree with Aetles. It is very time consuming to try to catch up with the changes every time I pull a fresh copy. I think that in addition to good Commit Messages, that a Changelog would be very helpful. I just currently feel like I'm in the dark every time I start a new project. One particular instance is the recent change from compiling everything to the assets directory to now compiling to the "dist/assets" directory. This was an unexpected change that would have been nice to have in a changelog with a brief explanation of why the change was made. I'm definitely cool with making things better, but I like to understand why and if I have to dig through a million things to find out why, it can get to be frustrating. |
Potentially https://readthedocs.org/ |
I think FoundationPress is at a point where we should move away from using README for documentation and have a dedicated site/page for it.
Here are some ideas:
Anybody have other ideas of their own, or opinions on the options listed above?
The text was updated successfully, but these errors were encountered: