The API doc page (currently auth-protected) is pretty decent at listing all the API end points, but need a face lift. It doesn't look at all like the rest of our website (neither the main website, nor the wiki, nor anything really).
We need to apply a CSS to it, so that at least the main elements of our visual identity are present.
Description
Description
Related Objects
Related Objects
Status | Assigned | Task | ||
---|---|---|---|---|
Migrated | gitlab-migration | T614 Open up the Software Heritage API to the world | ||
Migrated | gitlab-migration | T620 face lift for the API doc page |
- Mentioned In
- R65:1559b56bb633: apidoc: Do not present upcoming endpoint documentation
R65:532291c6505b: apidoc: Add archive label text to swh logo
R65:243cff6d3491: apidoc: Rename upper breadcrumb from Home to API
R65:7fbf38c5513a: apidoc: Link in header menu points to archive
R65:e89686a2ddeb: apidoc: Add breadcrumb links
R65:cf36f86eb7a7: apidoc: Remove /browse from header menu
R65:115e6a917d01: apidoc: Unify font color for upcoming/deprecated rows
R65:973c250b2f21: style: Remove duplicated a entry
R65:7779471fc71a: apidoc: Rename page titles with a better description
R65:152737fcf612: apidoc: Fix positioning glitch between fixed header and datatable
R65:f151bfaa47cf: style: Use red-ish border for apidoc table
R65:c81e8888a2b3: apidoc: List endpoints in a responsive table
R65:d3ea1d5213b9: apidoc: Fix rendering glitch with ~
R65:c29a1193dd62: style: Remove border on left and right for the fixed menu
R65:bd2a3c434eca: style: Add back to top link
R65:b4c36306c72c: apidoc: Fix empty line
R65:fca1bee22ad5: style: Fix in-page links covered by navbar
R65:f76514e12771: style: Slightly increase the font-size
R65:a9e8184f67c2: style: Remove grey-ish background color
R65:ee5b8cdb224e: style: Align the navigator bar to the right
R65:012168efe802: style: Fix in-page links covered by navbar
R65:e678d37a41e5: style: font color unification
R65:8d6d9d2e1ce1: style: Make the menu fill the screen
R65:fbd63df1593b: style: Add gradient bottom border to header menu
R65:19ab450b31fa: style: Add header menu to the top of the page
R65:3e7e72c859f8: style: Unify link behavior with www.s.o
R65:b83075ad8d3c: style: Unify SWH title with 2 fonts as in www.s.o
R65:d6c4c71c786a: style: Make the menu fixed when scrolling
R65:d7a96b09b3c9: style: Decrease title to a reasonable size
R65:fabb7532bc58: style: Move title below menu
R65:f8e09d2e2426: apidoc: Make the main entry point of the webapp be api's documentation
R65:9186ba06de8b: style: Add swh's logo on the menu header
R65:bc6720a5a020: apidoc: Fix typo
R65:4fdd2f76c840: apidoc style: Slightly decrease pre font's size
R65:554f1f63804e: Unify font-family with www.s.o
R65:3458b3a34078: apidoc: Add the toc header in main menu
R65:9342d08503f5: apidoc style: Improve default global font-size
rDWAPPS7fbf38c5513a: apidoc: Link in header menu points to archive
rDWAPPS532291c6505b: apidoc: Add archive label text to swh logo
rDWAPPS1559b56bb633: apidoc: Do not present upcoming endpoint documentation
rDWAPPS243cff6d3491: apidoc: Rename upper breadcrumb from Home to API
rDWAPPScf36f86eb7a7: apidoc: Remove /browse from header menu
rDWAPPS7779471fc71a: apidoc: Rename page titles with a better description
rDWAPPS973c250b2f21: style: Remove duplicated a entry
rDWAPPSe89686a2ddeb: apidoc: Add breadcrumb links
rDWAPPS115e6a917d01: apidoc: Unify font color for upcoming/deprecated rows
rDWAPPS152737fcf612: apidoc: Fix positioning glitch between fixed header and datatable
rDWAPPSd3ea1d5213b9: apidoc: Fix rendering glitch with ~
rDWAPPSc81e8888a2b3: apidoc: List endpoints in a responsive table
rDWAPPSf151bfaa47cf: style: Use red-ish border for apidoc table
rDWAPPSc29a1193dd62: style: Remove border on left and right for the fixed menu
rDWAPPS03258a292fe4: apidoc: Rename page titles with a better description
rDWAPPSa01d7beeeaba: style: Remove duplicated a entry
rDWAPPS54de2bec5dc5: apidoc: Add breadcrumb links
rDWAPPS47a5a24f0110: apidoc: Unify font color for upcoming/deprecated rows
rDWAPPS0fae9f713cb9: apidoc: Fix rendering glitch with ~
rDWAPPS8510e8c355c2: apidoc: Fix positioning glitch between fixed header and datatable
rDWAPPS5c21c7fa6f89: apidoc: List endpoints in a responsive table
rDWAPPS195a90f8cfb7: style: Use red-ish border for apidoc table
rDWAPPS7585260e8776: style: Remove border on left and right for the fixed menu
rDWAPPSfca1bee22ad5: style: Fix in-page links covered by navbar
rDWAPPSb4c36306c72c: apidoc: Fix empty line
rDWAPPSbd2a3c434eca: style: Add back to top link
rDWAPPS012168efe802: style: Fix in-page links covered by navbar
rDWAPPSee5b8cdb224e: style: Align the navigator bar to the right
rDWAPPS8d6d9d2e1ce1: style: Make the menu fill the screen
rDWAPPSa9e8184f67c2: style: Remove grey-ish background color
rDWAPPSe678d37a41e5: style: font color unification
rDWAPPSf76514e12771: style: Slightly increase the font-size
rDWAPPSd6c4c71c786a: style: Make the menu fixed when scrolling
rDWAPPS3e7e72c859f8: style: Unify link behavior with www.s.o
rDWAPPSb83075ad8d3c: style: Unify SWH title with 2 fonts as in www.s.o
rDWAPPSfbd63df1593b: style: Add gradient bottom border to header menu
rDWAPPS19ab450b31fa: style: Add header menu to the top of the page
rDWAPPSd7a96b09b3c9: style: Decrease title to a reasonable size
rDWAPPS9186ba06de8b: style: Add swh's logo on the menu header
rDWAPPSfabb7532bc58: style: Move title below menu
rDWAPPSf8e09d2e2426: apidoc: Make the main entry point of the webapp be api's documentation
rDWAPPSbc6720a5a020: apidoc: Fix typo
rDWAPPS4fdd2f76c840: apidoc style: Slightly decrease pre font's size
rDWAPPS3458b3a34078: apidoc: Add the toc header in main menu
rDWAPPS9342d08503f5: apidoc style: Improve default global font-size
rDWAPPS554f1f63804e: Unify font-family with www.s.o
T630: add support for an introductory paragraph to the API doc page - Mentioned Here
- T631: add the ability to selectively hide (or annotate?) endpoints in the API doc page
Event Timeline
There are a very large number of changes, so older changes are hidden. Show Older Changes
Comment Actions
Apply better style to differentiate between deprecated, upcoming, and current api endpoints (cf. T631)
ardumont moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jan 18 2017, 3:02 PM2017-01-18 15:02:48 (UTC+1)
Comment Actions
Current commits listed before are current deployed on production for demo.
There remains some fixes:
- internal links are not rendered properly with the fixed menu (P127).
- when screen size is way small, the gradient disappears
- when screen size is way small, the menu should be displayed on right (as in www.s.o) and not vertically, as it is currently
Some evolution remains to implement, as per www.s.o's:
- Menu should take all the width space
- /api/1/ needs to be improved on upcoming task style
- /api/1/ needs to be improved in general (it's ugly)
- Add breadcrumbs as in www.s.o
- Add back to top link in fixed footer
ardumont mentioned this in rDWAPPS7585260e8776: style: Remove border on left and right for the fixed menu.Jan 24 2017, 3:27 PM2017-01-24 15:27:02 (UTC+1)
ardumont mentioned this in rDWAPPS8510e8c355c2: apidoc: Fix positioning glitch between fixed header and datatable.
ardumont mentioned this in rDWAPPSc29a1193dd62: style: Remove border on left and right for the fixed menu.Jan 24 2017, 3:37 PM2017-01-24 15:37:32 (UTC+1)
ardumont mentioned this in rDWAPPS152737fcf612: apidoc: Fix positioning glitch between fixed header and datatable.
Comment Actions
Mmph, commits are mentioned twice since i rebased after roberto's fix commit.
Anyway, deployed!
ardumont mentioned this in R65:554f1f63804e: Unify font-family with www.s.o.Feb 23 2019, 1:55 AM2019-02-23 01:55:58 (UTC+1)
ardumont mentioned this in R65:f8e09d2e2426: apidoc: Make the main entry point of the webapp be api's documentation.
ardumont mentioned this in R65:c29a1193dd62: style: Remove border on left and right for the fixed menu.
ardumont mentioned this in R65:152737fcf612: apidoc: Fix positioning glitch between fixed header and datatable.
ardumont mentioned this in R65:1559b56bb633: apidoc: Do not present upcoming endpoint documentation.
gitlab-migration changed the task status from Resolved to Migrated.Jan 8 2023, 9:56 PM2023-01-08 21:56:52 (UTC+1)
gitlab-migration claimed this task.
Comment Actions