Skip to content
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

Create a self-contained mini-docs site #2529

Closed
JJ opened this issue Dec 30, 2018 · 7 comments
Closed

Create a self-contained mini-docs site #2529

JJ opened this issue Dec 30, 2018 · 7 comments
Labels
big Issue consisting of many subissues

Comments

@JJ
Copy link
Contributor

JJ commented Dec 30, 2018

The problem

Right now, site-generation tools are tested by actually generating the site and fixing stuff if something fails. There's no comprehensive test suite, some doc-site-specs, that allow someone to say "that's fine" if htmlify.p6 or attendant modules (such as Perl6::Documentable) are modified. There's no spec either, so the best we can do now is to say "It seems to work the way it did before".
That makes things like #1823, #2503 or #1937 difficult or even impossible, since it's almost impossible to know if whatever we come up with is actually plug-in compatible with whatever we were running before. Also things like #1959 #1809 #2527 are discovered from time to time, with only patches available (which sometimes break a different thing)

Suggestions

Create a mini-docs repo, self-contained and, if possible, useful enough, that can be used to test all and everything related to docs.perl6.org.

@tbrowder
Copy link
Member

I concur, and it should be on a fully capable host. Does the droplet need expanding in some measure? Should more people be brought on board? Do we need a more traditional host (i.e., a bare metal serever independent of any specific provider)?

@JJ
Copy link
Contributor Author

JJ commented Dec 30, 2018 via email

@finanalyst
Copy link
Collaborator

I'm attempting to do this already. May be 80% complete.

Please look at new doc repo

I have begun to put this on the droplet. Infrastructure for droplet missing as I write

@JJ
Copy link
Contributor Author

JJ commented Dec 31, 2018 via email

@JJ JJ added the big Issue consisting of many subissues label Jan 4, 2019
@finanalyst
Copy link
Collaborator

JJ,
We discussed a possible test file. I thought you mentioned 'Strings', but there is no 'Language/Strings.pods'. There is a 'Type/Str.pod6' .

I cannot find our discussion, so I can't check.

@finanalyst
Copy link
Collaborator

I've run a contents analysis on all the sources, followed by a frequency across the whole collection. The results are (and my comments):
Pod::Block::Named 365 # meaning 365 files - all of them - have an instance of this Block
Pod::Block::Para 365
Pod::Block::Code 357
Pod::Heading 308
Pod::FormattingCode「C」 297
Pod::FormattingCode「L」 249
Pod::FormattingCode「I」 116
Pod::FormattingCode「B」 90
Pod::FormattingCode「X」 85
Pod::Item 43
Pod::Block::Table 26
Pod::Block::Comment 20
Pod::FormattingCode「N」 12
Pod::FormattingCode「R」 3
Pod::FormattingCode「Z」 3
Pod::FormattingCode「F」 1 # F does not exist. I have removed it from 101-basics.pod6
Pod::Defn 1 # only pod.pod6
Pod::FormattingCode「E」 1 # only pod.pod6

@JJ
Copy link
Contributor Author

JJ commented Jan 7, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
big Issue consisting of many subissues
Projects
None yet
Development

No branches or pull requests

4 participants
@JJ @finanalyst @tbrowder and others