Commit 0e7ccc0
committed
gopls/internal/golang: provide version info for stdlib in pkgdoc
The available versions are provided for functions and methods.
Same as https://pkg.go.dev/
1. The std lib version is only available for FUNC, METHOD, TYPE. Not
available for CONST, VAR & FIELD. Because those types do not have
dedicated HTML element, declarations are shown only as source code.
2. Introduce css element stdlibVersion which contains the styles needed.
For golang/go#67159
Change-Id: I4b4f469a858a1aca6598f2abed6f990ab1931b00
Reviewed-on: https://go-review.googlesource.com/c/tools/+/595855
Reviewed-by: Robert Findley <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>1 parent fcf5463 commit 0e7ccc0
1 file changed
+23
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
415 | 416 | | |
416 | 417 | | |
417 | 418 | | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
418 | 425 | | |
419 | 426 | | |
420 | 427 | | |
| |||
782 | 789 | | |
783 | 790 | | |
784 | 791 | | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
785 | 801 | | |
786 | 802 | | |
787 | 803 | | |
788 | 804 | | |
789 | 805 | | |
790 | 806 | | |
791 | 807 | | |
792 | | - | |
793 | | - | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
794 | 811 | | |
795 | 812 | | |
796 | 813 | | |
| |||
808 | 825 | | |
809 | 826 | | |
810 | 827 | | |
811 | | - | |
812 | | - | |
| 828 | + | |
| 829 | + | |
813 | 830 | | |
814 | 831 | | |
815 | 832 | | |
| |||
828 | 845 | | |
829 | 846 | | |
830 | 847 | | |
831 | | - | |
| 848 | + | |
832 | 849 | | |
833 | 850 | | |
834 | | - | |
| 851 | + | |
835 | 852 | | |
836 | 853 | | |
837 | 854 | | |
| |||
0 commit comments