doste / pharodoc Goto Github PK
View Code? Open in Web Editor NEWDocument generator for Pharo Classes
Document generator for Pharo Classes
In pharo there are already a couple of methods:
subclasses
: the direct subclasses of a classallSubclasses
: all recursive subclasses of a classwithAllSubclasses
: all recursive subclasses of a class plus the class itselfUsing these methods you can probably simplify a lot of code ;)
streams automatically advance, so there is usually no need to set it to the end manually.
PharoDoc/2tPharoDoc/DostePharoDoc.class.st
Line 152 in cda606c
This will never work in my machine :)
PharoDoc/2tPharoDoc/DostePharoDoc.class.st
Line 133 in cda606c
The full project is full of comments "just in case" or "just to test".
It would be nice to remove them.
If those examples are important, they could be turned into example methods.
Or in tests!
There is an automatic formatter in Pharo. You can call it doing right click -> format, or ctrl-shift-f.
An example of badly formatted code is here:
It makes my eyes cry blood!!! :D
It looks like you start generating from the subclasses of the roots you give.
You never generate the page of aClassToShow.
But maybe I'm not seeing right, the indentation problems and the absence of tests really make me doubt :)
How could you write some tests?
I think it is a good exercise.
I understand the problem in the comment, but the question is why you are receiving a nil
argument in the first place!
Maybe the problem is not in the concatenation but in the users ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.