Commit Graph

25 Commits

Author SHA1 Message Date
Edwin Lim
e7987eacd4 internal links checker script (post-build) (#12147) 2025-07-11 16:46:44 -04:00
Eli Kinsey
7256f9e5eb Build clean up (#7788)
* clean up some build errors

* removed unused shortcodes

* remove import gen script

* dont source non-team member profiles
2024-02-13 11:40:41 -08:00
Eli Kinsey
05761de0ed remove netlify from codebase (#5064) 2023-01-12 03:35:09 -08:00
Paul Hultgren
a836e3286b Integrate overview page (#5027)
* move integrate above self-host in the docs sidebar

* revamp Tab component

* use tabs on integrate homepage

* create SDKs component

* sync sidebars.json with master

* display sdk icons

* list third party frameworks on integrate page

* small tweaks to integrate page contents

* move integrate above self-host

* small tweaks to snippet and sdks sections

* Add safe redirects (JS)

* uncomment lines in sourceNodes

* typo

* styled tabs, added a "count" option - eg: (14), add keys to nodes

* update snippet URLs

* reworked content for the snippet instructions

* Fix typos

* remove snippet installation sidebar entry

* SDKs → Libraries for now, sadly

* change posthog.js to posthog-js

* Don't encourage non-posthog-js

Co-authored-by: Paul Hultgren <39424187+pjhul@users.noreply.github.com>

* raquel suggestions

Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>

* add demo suggestion

Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>

* move integrate above self-host in sidebar

* add recommended badge

* remove quick start

Co-authored-by: PostHog <hey@posthog.com>
Co-authored-by: Cory Watilo <cww@watilo.com>
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
2023-01-12 05:37:49 +00:00
Eli Kinsey
66f605c863 Team pages / roadmap images (#4656)
* add team roadmaps

* add team members

* Add safe redirects (JS)

* fix thumbs up

* add new reactions to schema

* improve responsiveness of team members

Co-authored-by: PostHog <hey@posthog.com>
Co-authored-by: Cory Watilo <corywatilo@gmail.com>
2022-11-15 00:18:15 +00:00
Eli Kinsey
38f814c876 Queryable testimonials (#2634)
* add testimonials.json

* add testimonials table component

* ignore testimonials table
2021-12-16 02:33:45 -05:00
Eli Kinsey
ef67f259d6 Move team member info from team.mdx to individual team member files (#2412) 2021-12-01 18:34:12 -05:00
Eli Kinsey
534e1f32c8 Landing page components (#2231)
* initial commit

* add dark mode

* create hero

* add section

* extend section to support titles

* add featuresnapshot

* cleanup

* add table components and styles

* extend section to support content sizes

* make featuresnapshot reversible

* name/directory changes

* section cleanup

* add and implement article width frontmatter

* refactor hero / add hero storybook

* refactor section / add section story

* add featuresnapshot story

* update mdx doc / add storybook doc / remove css from quotes in article content

* add noindex to seo component
2021-11-01 09:15:21 -07:00
Michael Matloka
324ece14fd Fix date serialization in JS redirect generation and remove old Python version (#2097)
* Make sure proper ISO date is used in redirect comments

* Purge Python version of `safe_rename`

* Add test
2021-09-28 10:43:01 +00:00
Phil Leggetter
0f1937889a Redirect fix (#1978)
* rename titles -> startup-job-titles

* rename back

* Redirect check fix

* Add recent missing redirect

* Rename back

* Correct redirect

* adding log when no path changes found
2021-09-13 14:48:57 +01:00
Phil Leggetter
8b7f4a26be Redirect checks ported to JavaScript + unit tests (#1761)
* create safe_rename in JS

* Adding JS safe redirects commit.

Across the two checks (Python & JS) one should find not redirects based on the work the other has done.

We can run these in parallel for a while to ensure they both work in the same way.

JS checks include some unit tests.

Co-authored-by: Sam Winslow <sammywinslow@gmail.com>
2021-08-19 13:51:20 +01:00
Phil Leggetter
9b007dfe1e Update hiring process URL to /handbook/people/hiring-process (#1749)
* Update hiring process URL to /handbook/people/hiring-process

* Add safe redirects

* Improve existing redirect detection

* Remove existing redirect

* change hiring process URL in sidebar

* Update hiring process sidebar text to "Overview"

Co-authored-by: PostHog <hey@posthog.com>
2021-08-12 15:58:20 +01:00
Mohammed Shehu
9de925671d Leo anthias interview (#1740) 2021-08-12 13:26:44 +02:00
Phil Leggetter
65193685c5 Adding data ingestion docs to /docs/integrate (#1680)
* Adding data ingestion docs to /docs/integrate

* Fix typos

* Complete 1st draft of historical data ingestion doc

* ingest historic data guide updates

* Add summary of how to send historical data to PostHog

* Made a start at "ingest live data" guide

* Create single other hosting providers page and link to 3rd party docs (#1678)

* Create other hosting providers page

Remove dedicated pages and instead link to 3rd party docs.

* remove duplicate "other"

* add space after comma

* small wording change

* Fix typos

Co-authored-by: PostHog <hey@posthog.com>

* Added marketing-specific onboarding tasks (#1682)

* Intro phil leggetter - adding video embed (#1683)

* Create intro-phil-leggetter.md

* fixed a couple of typos and added more links

* Update intro-phil-leggetter.md

* Added Phil's location + link

* Added gaming reference

* Added Charles' changes

* Uploaded feature image for Phil's intro

* Add safe redirects

* Added feature image

* Updated URL for image

* Fixed Phil's website URL

* Update intro-phil-leggetter.md

Co-authored-by: James Hawkins <47497682+jamesefhawkins@users.noreply.github.com>
Co-authored-by: PostHog <hey@posthog.com>

* Make docs overview pages the default file of their parent folder (fixes merge conflict) (#1681)

* move slug field creation to onCreateNode

* update docs overview pages to support new URL structure

* update redirects to support new URL structure

* Update netlify.toml (#1629)

* WIP Intro Post: Phil Leggetter (#1602)

* Create intro-phil-leggetter.md

* fixed a couple of typos and added more links

* Update intro-phil-leggetter.md

* Added Phil's location + link

* Added gaming reference

* Added Charles' changes

* Uploaded feature image for Phil's intro

* Add safe redirects

* Added feature image

Co-authored-by: James Hawkins <47497682+jamesefhawkins@users.noreply.github.com>
Co-authored-by: PostHog <hey@posthog.com>

* Add safe redirects

* Remove conflict in blog post

* handle default directory index files redirects in safe_rename

* Replace /path/index with /path in safe redirects

Co-authored-by: Eli Kinsey <ekinseydev@gmail.com>
Co-authored-by: Mohammed Shehu <40317687+shehuphd@users.noreply.github.com>
Co-authored-by: James Hawkins <47497682+jamesefhawkins@users.noreply.github.com>
Co-authored-by: PostHog <hey@posthog.com>

* Document selectors for actions (#1684)

Co-authored-by: Phil Leggetter <phil@leggetter.co.uk>

* Update release instructions (#1655)

* update git log command

* final notes

* note about posting on Slack

* Miscellaneous fixes and updates + Plugins out of beta (#1627)

* Miscellaneous fixes + Docs

* get plugins out of beta

* Update reference.md

* Fix last mention of plugins being beta

* Fix "Plugins library"

* bring back styling

Co-authored-by: Michael Matloka <dev@twixes.com>

* add tailwind watch environment variable to start script (#1692)

Co-authored-by: Eli Kinsey <eli@kinsey.dev>

* use existing font stack (#1690)

* Update pull_request_template.md (#1693)

* Update hiring process.md (#1668)

* Update design-hiring.md

* Update engineering-hiring.md

* Delete hiring-process.md

Duplicate page, the new page is under the hiring process folder

* Update design-hiring.md

* Adding data ingestion docs to /docs/integrate

* Live data ingestion guide: install, identify and capture

* Update/simplify capture events docs and includes

* More ingest capture docs updates

* Add links to server libraries in tab panes

* Fix <TabPane> indentation

* Slightly more inspiring data ingestion intro para

* Make docs overview pages the default file of their parent folder (fixes merge conflict) (#1681)

* move slug field creation to onCreateNode

* update docs overview pages to support new URL structure

* update redirects to support new URL structure

* Update netlify.toml (#1629)

* WIP Intro Post: Phil Leggetter (#1602)

* Create intro-phil-leggetter.md

* fixed a couple of typos and added more links

* Update intro-phil-leggetter.md

* Added Phil's location + link

* Added gaming reference

* Added Charles' changes

* Uploaded feature image for Phil's intro

* Add safe redirects

* Added feature image

Co-authored-by: James Hawkins <47497682+jamesefhawkins@users.noreply.github.com>
Co-authored-by: PostHog <hey@posthog.com>

* Add safe redirects

* Remove conflict in blog post

* handle default directory index files redirects in safe_rename

* Replace /path/index with /path in safe redirects

Co-authored-by: Eli Kinsey <ekinseydev@gmail.com>
Co-authored-by: Mohammed Shehu <40317687+shehuphd@users.noreply.github.com>
Co-authored-by: James Hawkins <47497682+jamesefhawkins@users.noreply.github.com>
Co-authored-by: PostHog <hey@posthog.com>

* Move client library files to directory/index.mdx

* Add safe redirects

* updating data model from .md to .mdx

* refactor safe rename/redirects

* remove unwanted redirects

* update safe_rename logging

* fix comma

* fix typo

* fix import paths after moving library pages to index.mdx files

* Increasing visibility of autocapture

* Fix typos

* fix in-page anchor link

Co-authored-by: PostHog <hey@posthog.com>
Co-authored-by: Mohammed Shehu <40317687+shehuphd@users.noreply.github.com>
Co-authored-by: James Hawkins <47497682+jamesefhawkins@users.noreply.github.com>
Co-authored-by: Eli Kinsey <ekinseydev@gmail.com>
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
Co-authored-by: Yakko Majuri <38760734+yakkomajuri@users.noreply.github.com>
Co-authored-by: Michael Matloka <dev@twixes.com>
Co-authored-by: Eli Kinsey <eli@kinsey.dev>
Co-authored-by: Cory Watilo <cww@watilo.com>
Co-authored-by: Kunal <kunal@posthog.com>
Co-authored-by: eltjehelene <75622766+eltjehelene@users.noreply.github.com>
Co-authored-by: kunal <kunal@kunals-MacBook-Pro.local>
2021-08-05 18:47:55 +01:00
Phil Leggetter
dd38b861e6 Make docs overview pages the default file of their parent folder (fixes merge conflict) (#1681)
* move slug field creation to onCreateNode

* update docs overview pages to support new URL structure

* update redirects to support new URL structure

* Update netlify.toml (#1629)

* WIP Intro Post: Phil Leggetter (#1602)

* Create intro-phil-leggetter.md

* fixed a couple of typos and added more links

* Update intro-phil-leggetter.md

* Added Phil's location + link

* Added gaming reference

* Added Charles' changes

* Uploaded feature image for Phil's intro

* Add safe redirects

* Added feature image

Co-authored-by: James Hawkins <47497682+jamesefhawkins@users.noreply.github.com>
Co-authored-by: PostHog <hey@posthog.com>

* Add safe redirects

* Remove conflict in blog post

* handle default directory index files redirects in safe_rename

* Replace /path/index with /path in safe redirects

Co-authored-by: Eli Kinsey <ekinseydev@gmail.com>
Co-authored-by: Mohammed Shehu <40317687+shehuphd@users.noreply.github.com>
Co-authored-by: James Hawkins <47497682+jamesefhawkins@users.noreply.github.com>
Co-authored-by: PostHog <hey@posthog.com>
2021-08-02 13:56:04 +01:00
Phil Leggetter
fbb543a811 Docs Information Architecture (IA) Update (#1603)
* Restructure sidebar for #1573

* Support tags as part of #1573

* Add safe redirects

* Move /deployment to /self-host/deploy

* Move /docs/configuring-posthog/ to /docs/self-host/configure/

* Move /docs/features/ to /docs/user-guides/

* Move /docs/contributing to /docs/contribute

* Move /docs/libraries to /docs/integrate/ client or server

* Move /docs/libraries integrations + webhooks to /docs/integrate

* Remove unused "Guide" from sidebar

* Reorder docs in sidebars.json (just JSON structure)

* frontmatter sidebarTitle support + deploy sidebarTitles

* update integration docs sidebarTitles

* safe_rename redirect check changes

- Allow new redirects where "from" does already exist - valid for multiple redirects
- Added timestamp for redirects to allow us to remove in future

* NotFoundPage component to track 404s via PostHog

* Update libraries overview page

* Update Overview docs pages heading to be more meaningful

* Correct PHP feature flag support

* Adding sidebarTitle details

* Library heading updates

Co-authored-by: PostHog <hey@posthog.com>
2021-07-14 13:47:23 +02:00
Phil Leggetter
8c81292614 Contributing documentation updates (#1541)
* Move contributing docs into /contributing/*

* Add table of contents to MDX files

* consistent formatting of tips and notes

* Fix CSS scoping

* Avoid duplicates in safe_rename.py

* revert yarn.lock change

* Add safe redirects

* remove unused attribute: className

* fixed typo

Co-authored-by: PostHog <hey@posthog.com>
Co-authored-by: James Hawkins <47497682+jamesefhawkins@users.noreply.github.com>
2021-07-12 08:49:04 -03:00
Yakko Majuri
91a5422218 handle edge case with bot (#1269) 2021-04-28 09:39:15 +00:00
Yakko Majuri
7389878559 Testing Redirects bot (#1261)
* Testing Redirects bot

* update bot mechanism

* never fail bot

* Add safe redirects

* Update netlify.toml

* Add safe redirects

* Update safe_rename.py

* Add safe redirects

* update netlify.toml

* Add safe redirects

Co-authored-by: PostHog <hey@posthog.com>
2021-04-27 14:55:42 +00:00
Yakko Majuri
2fbe2f82e5 Miscellaneous Improvements (#1202)
* Miscellaneous Improvements

* test

* update bot script

* remove stupid redirects
2021-04-12 13:41:13 +00:00
Yakko Majuri
a36b736ea8 [EPIC] New Contributors Page (#1137)
* wip contributor card

* dynamic cards

* fetch contributors done

* finish search

* better search

* wip stats

* hook chart to api

* sort contributors before chart

* better loading states

* updates

* handle tab change query

* wip better tooltips

* much better info

* improvements

* better disclaimer

* backfilling

* lower the bar for level progress
2021-03-30 14:27:10 +01:00
Mike Nicklas
39db9e8f7c New Landing Page (#1035)
* Setup tailwind and postcss with gatsby

* Switch image to inline-block and remove max-width on container

* Add missing space for enterprise email link

* Small style changes to menu and hero

* General updates to support new header/menu

* Use initial styling for ordered & unordered lists

* Add correct style types for ul/ol elements

* Fix block level images in contributors grid

* Start updating footer and global colors to use new color scheme

* Setup footer links

* Remove bullets from navbar

* Use scss for contributor faces instead of utility classes

* Update body font to Good Sans

* Cleanup navbar and support dark mode

* Setup structure for a/b testing homepage

* Progress on the new landing page hero section

* Convert feature icons to typescript

* Build out the core sections of the new landing page

* Cleanup hero styles

* Update footer to be expandable on mobile

* Make navbar responsive and expandable

* Wire up get started modal

* Add hover states to primary call to actions

* Cleanup 'whyPosthog' section

* Fix docs lightmode/darkmode navbar colors & width

* Cleanup header

* Add copyright/legal to footer

* Add footer links & general cleanup

* Use 'a' tags for external links in navbar

* Fix a handful of style suggestions

* Code style improvements

* General style cleanup

* Support dark mode on handbook

* Add skeleton loading to clean up jumpiness

* Cleanup blog view

* Make login button text smaller

* Use dark purple for docs footer, code blocks, etc.

* Test Spinner before dark mode compatible pages

* update body bg-color on dark mode

* Add relative to fotoer

* Update footer links

* Add hero background

* Fix newsletter signup

* More responsive and fix newsletter glow

* Center legal section of footer

* Remove isDocsPage usage since all docs pages are post pages

* Remove duplicate check because all docs pages are post pages

* Remove a/b testing logic

* Switch landing page components to named exports

* More landing page cleanup

* Point tutorials and blog posts at correct pages

* Extract a CallToAction component which handles primary & secondary actions

* Add support for ultrawide

* Finish open source section and extend call to action functionality

* Fix up roadmap

* Use existing newsletter form

* Add more secondary buttons throughout

* Minor spacing cleanup

* Don't add stylesheets to mdx global components

* Don't purge dynamic width classes

* Safelist goes is an option

* typo fix

* First round of revisions

* Add button brackets

* Extract corner brackets and use elsewhere

* Landing page cleanup (#1081)

* extract moon, rocket from hero background

* link "open source platform" to github

* brackets around buttons, blockquote

* header sizing

* ordering logos, spacing

* a mostly working cityscape!

* reduce nav item tracking

* add a/b testing icon, animate product icons

* better responsiveness for product icons, replaced heatmaps icon

* responsive refinements

* switching product icons to use css grid

* Small fixes for ultrawide mountains & sun

* it is with great disappointment and self-loathing that i convert all svgs to pngs

* Cleaner brackets

* rebuilding timeline

Co-authored-by: Cory Watilo <corywatilo@gmail.com>
Co-authored-by: Mike Nicklas <mike.nicklas@gmail.com>

* Add an in-between breakpoint for mountains

* Small code style improvements

* Cleanup larger breakpoints

* Don't purge negative bottom/top classes

* Rename .features -> .lp-features to isolate to new landing page

* small sizing tweaks

* kill header signup button flash on hover

* a couple mobile sizing tweaks

Co-authored-by: yakkomajuri <yakko.majuri@gmail.com>
Co-authored-by: James Hawkins <47497682+jamesefhawkins@users.noreply.github.com>
Co-authored-by: Cory Watilo <cww@watilo.com>
Co-authored-by: Cory Watilo <corywatilo@gmail.com>
2021-03-17 14:49:52 +00:00
Yakko Majuri
eb7346c6a5 Yet another bot fix (#1099) 2021-03-17 13:22:09 +00:00
Yakko Majuri
4ccc9fead4 test bot (#1097)
* update action

* typo here

* redirect here

* update

* Fix typos

* Revert "Fix typos"

This reverts commit 9e775f57c21e85cc87f37ca51bc706fbe607f4da.

* merge all into one

* Add fixes

* check branch not commit

* update script

* Add fixes

* final rearrangement?

* Add safe redirects

* Fix typos

* remove useless changes

Co-authored-by: PostHog <hey@posthog.com>
2021-03-17 11:07:07 +00:00
Yakko Majuri
d6f353d7bc Add auto redirect for changed file names (#1094)
* rename

* rename 2

* Add auto redirect for changed file names

* convert into one action

* fixes

* attempted fix

* Add redirects

* minor fixes

* updates

* Revert "rename"

This reverts commit 147ea3eab1b20af48267e521fa52cc4ac91aa4ba.

* Revert "rename 2"

This reverts commit 69c6c4a4be2051cc6db37eca441f72a5abfb44eb.

* update netlify config

* update script

Co-authored-by: PostHog <hey@posthog.com>
2021-03-16 18:08:32 +00:00