codeigniter4 / CodeIgniter4

Open Source PHP Framework (originally from EllisLab)
https://codeigniter.com/
MIT License
5.31k stars 1.89k forks source link

Ensure docs are updated for current code. #72

Closed lonnieezell closed 8 years ago

lonnieezell commented 8 years ago

Need to make sure the docs match up to the current state of code. While I've got a couple of people assigned to this task, feel free to send PR requests for docs if you want!

jim-parry commented 8 years ago

Remaining to do:

New docs needed:

lonnieezell commented 8 years ago

I added a couple of the pages that need to be written to that list, just so that we can keep it to a single spot.

Over the last week or so, I've been going through each page from the top down trying to ensure it all matches the current stuff, plus has consistent formatting with certain things (like bold for file paths), and writing additional pages that don't yet have content.

Oh - and FYI- we should be 100% compatible with PSR4 autoloading. If not, let me know and I'll tweak, but I'm pretty sure we are.

jim-parry commented 8 years ago

Good to see additions! :) I suspect we are compatible with PSR-4, but with our own extensions, and I think that merits explanation.

lonnieezell commented 8 years ago

I suspect we are compatible with PSR-4, but with our own extensions, and I think that merits explanation.

Good point. Also, we should probably have something that describes the file-naming scheme. I'm sure that exists in the CI3 docs somewhere but don't think there was ever a single spot that said, "This is how it's done and why".

lonnieezell commented 8 years ago

I've added the Multiple Environments docs, but it wouldn't hurt to revisit this and expand a little bit in the future with a little bit more of a tutorial feel.

lonnieezell commented 8 years ago

What type of information were you thinking of in the "internals" guide?

jim-parry commented 8 years ago

I am pretty sure that everything will need revisiting!

"Internals guide" ... basically what a developer would need to know, beyond the style guide, to create a package/class or extend one

lonnieezell commented 8 years ago

I'll tackle the internals guide, then, unless you wanted to to become more familiar with it.

jim-parry commented 8 years ago

That would be great, thanks :)

I am reviewing the other new pages, and plan to add some caveats & dire warnings to the main readme :-/

lonnieezell commented 8 years ago

The internals page is in place now. I've got some more work to do on existing "Libraries" but we're getting close!

lonnieezell commented 8 years ago

Well drats. :)

I just went through the code and tried to match everything up and make sure it's been discussed, and found 8 more things that need documenting. Most of them are from scratch, but there are a couple we can take from CI3 and modify.

I'll be on vacation from June 8th-13th so it might not be until end of the month before we can do the "pre-alpha" release.

jim-parry commented 8 years ago

Good catch! Better to catch it now rather than once it is out the door :-/ If the "pre-alpha" isn't ready until the second half of the month, so be it. Thank you so much for all your hard work!! I will continue to chip away at my end. I won't be going away on vacation until August, but I have some heavy workshops June 7-14, which will cramp my availability.

lonnieezell commented 8 years ago

I've wrapped up the last of the docs items. At least, it's all good enough for now. :) The upgrading page can wait because a) we don't want to encourage it and b) I think this will be a completely different sort of upgrade guide...

jim-parry commented 8 years ago

Alright! A few more loose ends and we should be ready to wrap pre-alpha1!