Make `rake doc:guides` works again.  Fix #10384.
Merge pull request #10385 from siong1987/fix_rake_doc_guides

Make `rake doc:guides` works again.  Fix #10384.