Skip to content

bug/#73 ToCのH1リンクが機能していない fix#74

Merged
u-ecmaker merged 1 commit intomainfrom
bug/#73_ToClinks
Apr 14, 2024
Merged

bug/#73 ToCのH1リンクが機能していない fix#74
u-ecmaker merged 1 commit intomainfrom
bug/#73_ToClinks

Conversation

@u-ecmaker
Copy link
Copy Markdown
Member

fix #73

Updated

  • Headding1のid定義が抜けていただけだった。

## Updated
- Headding1のid定義が抜けていただけだった。
@u-ecmaker u-ecmaker merged commit b7d3d1d into main Apr 14, 2024
@u-ecmaker u-ecmaker deleted the bug/#73_ToClinks branch April 14, 2024 13:42
@github-actions
Copy link
Copy Markdown


Netlify Build
────────────────────────────────────────────────────────────────

❯ Version
@netlify/build 29.39.0

❯ Flags
{}

❯ Current directory
/home/runner/work/blog/blog

❯ Config file
No config file was defined: using default values.

❯ Context
dev

❯ Using Next.js Runtime - v4.41.3

❯ Outdated plugins

  • @netlify/plugin-nextjs@4.41.3: latest version is 5.0.0
    To upgrade this plugin, please update its version in "package.json"

    @netlify/plugin-nextjs (onPreBuild event)
    ────────────────────────────────────────────────────────────────

    No Next.js cache to restore.

    (@netlify/plugin-nextjs onPreBuild completed in 1.4s)

    Build command from Netlify app
    ────────────────────────────────────────────────────────────────

    $ npm run build

ecmaker@0.1.0 build
next build

info - Linting and checking validity of types...

./src/hooks/apiHooks/fetcher.ts
36:28 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
49:29 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/server/utils/algolia.ts
20:45 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/server/utils/ogp.ts
43:16 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
43:57 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/utils/storage.ts
9:53 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info - Creating an optimized production build...
info - Compiled successfully
info - Collecting page data...
info - Generating static pages (0/32)
MyInputFileListComponent inputFiles null
MyInputFileComponent inputFiles []
MyInputMultiFileListComponent inputFiles null
MyInputMultiFileListControlComponent inputFiles null
info - Generating static pages (8/32)
info - Generating static pages (16/32)
info - Generating static pages (24/32)
info - Generating static pages (32/32)
info - Finalizing page optimization...

Route (pages) Size First Load JS
┌ ● / (ISR: 1 Seconds) 2.15 kB 167 kB
├ /_app 0 B 165 kB
├ ○ /404 480 B 165 kB
├ λ /api/auth/[...nextauth] 0 B 165 kB
├ λ /api/hello 0 B 165 kB
├ λ /api/notion-blog/comments 0 B 165 kB
├ λ /api/notion-blog/likes/[page_id] 0 B 165 kB
├ ℇ /api/notion-blog/og 0 B 165 kB
├ λ /api/ogp 0 B 165 kB
├ ○ /contact 6.23 kB 298 kB
├ ○ /login 1.99 kB 167 kB
├ ● /posts (ISR: 1 Seconds) (540 ms) 17 kB 213 kB
├ ● /posts/[slug] (ISR: 1 Seconds) (52402 ms) 25.6 kB 378 kB
├ ├ /posts/logo (5879 ms)
├ ├ /posts/BI_seikika (5079 ms)
├ ├ /posts/github-pr-auto-branch (4607 ms)
├ ├ /posts/notion-blog_google-analytics (4296 ms)
├ ├ /posts/icon (4286 ms)
├ ├ /posts/RDP_remote-desktop (4257 ms)
├ ├ /posts/kakuteishinkoku_r5 (3791 ms)
├ └ [+10 more paths] (avg 2021 ms)
├ ● /profile 1.86 kB 236 kB
├ ● /sandbox 825 B 196 kB
├ ○ /sandbox/input-file-list 1.54 kB 223 kB
├ ○ /sandbox/react-hook-form 21.3 kB 242 kB
├ ○ /sandbox/react-memo 854 B 222 kB
├ ○ /sandbox/react-use-memo 696 B 222 kB
├ ○ /sandbox/rive 24.4 kB 245 kB
├ ○ /sandbox/svgr 2.09 kB 223 kB
└ ○ /sandbox/swr 1.03 kB 228 kB

  • First Load JS shared by all 171 kB
    ├ chunks/framework-2c79e2a64abdb08b.js 45.2 kB
    ├ chunks/main-f11614d8aa7ee555.js 26.8 kB
    ├ chunks/pages/_app-d8dacafe0514fedd.js 91.9 kB
    ├ chunks/webpack-c4acd79e87956a0e.js 947 B
    └ css/c80453a0a46c4777.css 6.15 kB

ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components)
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
○ (Static) automatically rendered as static HTML (uses no initial props)
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
(ISR) incremental static regeneration (uses revalidate in getStaticProps)


(build.command completed in 1m 13.2s)

@netlify/plugin-nextjs (onBuild event)
────────────────────────────────────────────────────────────────

NextAuth package detected, NEXTAUTH_URL environment variable set by user in Netlify configuration to https://blog.ec-maker.com
Moving static page files to serve from CDN...
Moved 15 files to CDN
The following routes use "revalidate" values of under 60 seconds, which is not supported.
They will use a revalidate time of 60 seconds instead.
┌─────────┬─────────────────────────────────────────────┬────────────┐
│ (index) │ Route │ Revalidate │
├─────────┼─────────────────────────────────────────────┼────────────┤
│ 0 │ '/' │ 1 │
│ 1 │ '/posts' │ 1 │
│ 2 │ '/posts/debug-test' │ 1 │
│ 3 │ '/posts/notion-blog_netlify-deploy-methods' │ 1 │
│ 4 │ '/posts/next.js_TipTap_plugin' │ 1 │
│ 5 │ '/posts/logo' │ 1 │
│ 6 │ '/posts/notion-blog_getting-started' │ 1 │
│ 7 │ '/posts/icon' │ 1 │
│ 8 │ '/posts/kakuteishinkoku_r5' │ 1 │
│ 9 │ '/posts/notion-blog_image-issue' │ 1 │
│ 10 │ '/posts/openAI-API' │ 1 │
│ 11 │ '/posts/notion-blog_google-analytics' │ 1 │
│ 12 │ '/posts/notion-blog_image-size' │ 1 │
│ 13 │ '/posts/schedule-git' │ 1 │
│ 14 │ '/posts/RDP_remote-desktop' │ 1 │
│ 15 │ '/posts/relocation' │ 1 │
│ 16 │ '/posts/BI_seikika' │ 1 │
│ 17 │ '/posts/nodejs_npm-audit-fix' │ 1 │
│ 18 │ '/posts/github-pr-auto-branch' │ 1 │
└─────────┴─────────────────────────────────────────────┴────────────┘
You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
✨ Deploying middleware and functions to Netlify Edge Functions ✨

(@netlify/plugin-nextjs onBuild completed in 1.7s)

Functions bundling
────────────────────────────────────────────────────────────────

Packaging Functions from .netlify/functions-internal directory:

  • ___netlify-handler/___netlify-handler.js
  • ___netlify-odb-handler/___netlify-odb-handler.js
  • _ipx/_ipx.js


    (Functions bundling completed in 2m 0.2s)

    Edge Functions bundling
    ────────────────────────────────────────────────────────────────

    Packaging Edge Functions from .netlify/edge-functions directory:
  • next_pages_api_notion_blog_og

    (Edge Functions bundling completed in 11.3s)

    @netlify/plugin-nextjs (onPostBuild event)
    ────────────────────────────────────────────────────────────────

    Next.js cache saved.

    (@netlify/plugin-nextjs onPostBuild completed in 1s)

    Deploy Site
    ────────────────────────────────────────────────────────────────

    Deploy path: /home/runner/work/blog/blog/.next
    Deploying to draft URL...

    Netlify Build
    ────────────────────────────────────────────────────────────────

    ❯ Version
    @netlify/build 29.39.0

    ❯ Flags
    auth: nfp_GoRr3esto6qez5kYyUhqYYVSpSHm3zB166e2
    build: true
    deployId: 661bde7dadfe0972734afc46
    open: false
    prod: false
    prodIfUnlocked: false
    site: 80899a26-cfcb-42f8-886e-c84364cdaae9
    skipFunctionsCache: false

    ❯ Current directory
    /home/runner/work/blog/blog

    ❯ Config file
    No config file was defined: using default values.

    ❯ Context
    dev

    (options.onPostBuild completed in 13.2s)

    Save updated config
    ────────────────────────────────────────────────────────────────


    (options.onEnd completed in 4ms)

    Netlify Build Complete
    ────────────────────────────────────────────────────────────────

    (Netlify Build completed in 3m 43.9s)

Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/661bde7dadfe0972734afc46
Function logs: https://app.netlify.com/sites/blog-ecmaker/functions?scope=deploy:661bde7dadfe0972734afc46
Website draft URL: https://661bde7dadfe0972734afc46--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --build --prod

u-ecmaker added a commit that referenced this pull request Oct 10, 2024
Merge pull request #66 from ECMaker:bug/#58_H1TableOfContents
bug #58 fix

Merge pull request #74 from ECMaker:bug/#73_ToClinks
close #73 bug/#73 ToCのH1リンクが機能していない fix

Merge branch 'style/heading3' (67eb9d8)

cb310ff で対処した src\recoil\atoms.ts の不明なエラーは関係なかったのでrevertした。
またblock.idが絡んでそうで根が深いかも。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug ToCのH1,H2のリンクが機能していない

1 participant