Comments (3)
@semicolin This ticket is more about displaying the history of changes for specific pages. For example, if a page is dedicated to a button and its functionality, theoretically, it could automatically generate and display the history of the button's recent changes. I believe such a feature could be convenient.
Regarding versioning and documentation for different versions of the library/project, I've considered this. It's not entirely NgDoc's responsibility, and I think the optimal solution would be to create and deploy multiple Angular applications.
For instance, let's say you have a library. If you maintain multiple versions, you'll likely have branches like 1.x.x
, 2.x.x
, and so on in your repository to facilitate bug fixes and updates for them. Correspondingly, you'll have pipelines for releasing the library and deploying its documentation.
In theory, in your pipeline, you could publish applications on specific routes using a script or any other method based on the major version. For example, my-doc.com/v1
could point to the application from the 1.x.x
branch, and my-doc.com/v2
to the application from the 2.x.x
branch. In the demo application itself, you could add something like a dropdown list to switch between versions. I think this solution is the simplest; it wouldn't require extensive support and should work with your server's standard routing.
Of course, there could also be an example involving micro-frontends, but I believe it would be more complex to implement and would require additional actions when new versions of the application are released. Therefore, I would prefer the option of having multiple applications on different routes.
from ng-doc.
If you have any thoughts about this feature please share!
from ng-doc.
My team does not use the Angular commit format, but I am interested in some kind of documentation history/versioning so users who are on an older version can see the documentation that matches their version.
from ng-doc.
Related Issues (20)
- [Bug] Import of prettier plugin HOT 6
- [Feature] Better automatic recognition of input signals for playground HOT 4
- [Bug] Playground 'recreate' doesn't seem to be working HOT 4
- [Docs] Language bug and information about input signals HOT 1
- [Feature] Preview for SCSS if it is defined via styleUrl property HOT 2
- [Feature] Category and Page combined HOT 5
- [Feature] Display method overloads HOT 1
- [Bug] Playground Feature Not Working HOT 2
- Amazing Work HOT 1
- [Feature] Use Relative Import Path in Generated Code HOT 3
- [Bug] `@ng-doc/builder:dev-server` Schema Validation Error When the `ngDoc` Propertiy is Provided HOT 15
- [Feature] Support `.js` Version of Ng Doc Configuration File HOT 4
- [Feature] Use Dark Theme by Default HOT 7
- [Docs] Update ng-doc path in docs HOT 2
- [Feature] Remove Google Fonts HOT 4
- [Bug] ng-doc.routing.ts incorrect generated import HOT 5
- [Bug] input aliasing decorator selector not rendered correctly HOT 4
- [Feature] Support template variables for inputs HOT 11
- [Bug] hidden: true in NgDocPage-Config does not avoid displaying a component in the navigation. HOT 7
- [Bug] Table of contents link does not work properly with basehref HOT 4
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 ng-doc.