Provide a way to customize the `/questions/` path name

未關閉
#1,291 3 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 6 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
go
領域
backend

研究方向

追蹤應用程式如何定義及產生 /questions/ URL,從路由進入點以及 issue 中描述的字串替換開始。當透過官方設定將該路徑一致地變更為 /posts/,且不需要手動編輯檔案時,工作即完成。

由索引模型根據 Issue 內容生成。

描述

new-feature

https://meta.answer.dev/questions/D1b23
to
https://meta.answer.dev/posts/D1b23

Currently I'm getting there by replacing strings in files, it would be nice if there was an official way to do this. It is perfectly suited to function as a general community, it doesn't have to be a Q&A community.

主要語言
Go
星號
15.7k
分支
1.4k
平均合併
9 天 6 小時
30 天內合併 PR
8

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

apache/answer 的其他 Issue

查看 apache/answer 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。