Comments (6)
And it's alive :) https://apiref.phpstan.org/1.8.x/namespace-PHPStan.html
And I started linking the ApiGen-generated reference instead of GitHub sources :) phpstan/phpstan@b2f24ae
And the whole website is already linked in the sidebar here :) https://phpstan.org/developing-extensions/extension-types
I really appreciate what you did here, I was able to take advantage of it immediately.
I have some feature requests but I'm gonna open separate issues for those.
from apigen.
FYI I'm gonna use the ApiGen 7 to generate an apiref.phpstan.org
website, I'm excited about it :)
from apigen.
This is sort-of currently possible, if you provide your own ApiGen\Analyzer\Filter implementation by replacing analyzer.filter
service in apigen.neon
.
The only tricky/unsolved part, is how to get your filter class loaded, because both Docker and Phar versions have their own autoloaders and will never load your code. So you currently either need to install ApiGen with composer require apigen/apigen:^7.0@alpha
or use some trick to make your filter class loadable.
I added class context to member filtering, which may be useful 18c6881
from apigen.
Oh yeah, custom Filter implementation is ideal for me. I'll run it in GitHub Actions so I'll create a subdirectory with its own composer.json in phpstan-src, no problem! 👍
from apigen.
@ondrejmirtes Let me know if you encounter any issues. You're the first one trying this out.
from apigen.
FYI the whole GitHub Action that builds this and deploys this: https://github.com/phpstan/phpstan-src/blob/1.8.x/.github/workflows/apiref.yml
from apigen.
Related Issues (20)
- Packagist is not auto-updated HOT 1
- Feature Request: Ability to add tracking code HOT 2
- Feature Request: More thorough filtering HOT 3
- Deprecated dependency
- @package tag is not used anymore in 7.0.0-alpha HOT 8
- Not parsing generated files of laravel-ide-helper package HOT 1
- Store index as json HOT 1
- Composer can not find package apigen/apigen with version 7.0@alpha HOT 2
- Missing classes that should exist HOT 1
- feature request: namespace / project overview using `README.md`
- add ability to include custom javascript and css files. HOT 3
- Feature request: document @phpstan-type types HOT 2
- My @todo tags are ignored HOT 1
- @link and @see tags ignored (inline and regular) HOT 1
- Theme Documentations HOT 4
- strict_types declaration must be the very first statement in the script HOT 4
- No tags at all? HOT 4
- feature request: New config option to find the correct composer vendor dir
- ApGen web URL leads to some suspicious indonesian site HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apigen.