How the CMS is configured in ShipThing.
blog
, documentation
and other content pages
(like the legal pages
) with MDX.
apps/web/content
directory, and the content is divided into three sub directories: blog
, docs
and legal
.
You only need to create new MDX files in the corresponding directory, and Fumadocs will automatically scan these files and generate the corresponding pages.
NEXT_PUBLIC_GOOGLE_ADS_PUB_ID
<Adsense />
tag to the location where the article wants the ad to appearlib/source.ts
is where you organize code for content sources.app/layout.config.tsx
, it contains the shared options for layouts.
Fumadocs offer a default Docs Layout for documentation pages, and Home Layout for other pages.
You can customise the layouts in layout.tsx
.
app/api/search/route.ts
contains the Route Handler for search, it is powered by Orama by default.